Commit Graph

  • 77af11bcbc fix(sled): Encrypt saved sync_token Benjamin Kampmann 2022-06-02 16:30:45 +02:00
  • 335251695a fix(sled): Encrypt saved filters Benjamin Kampmann 2022-06-02 16:08:13 +02:00
  • bf17012d6b test(base): Add integration store test for saving filters Benjamin Kampmann 2022-06-02 14:18:44 +02:00
  • 328ebdba9c fix(sled): Encrypt saved user_ids Benjamin Kampmann 2022-06-02 14:05:30 +02:00
  • c359b011fa refactor(sled): Rename for consistency event -> value Benjamin Kampmann 2022-06-02 11:30:26 +02:00
  • 07fed7f4df test(crypto-nodejs): Continue to test OlmMachine and add tracing support. Ivan Enderlin 2022-06-06 15:04:10 +02:00
  • 0ed74d8c31 test(crypto-nodejs): Test OlmMachine.receiveSyncChanges, .outgoingRequests and .markRequestAsSent. Ivan Enderlin 2022-06-06 12:09:37 +02:00
  • 35d7cab330 feat(crypto-nodejs): Rename requests request_id to id + add type. Ivan Enderlin 2022-06-06 12:08:58 +02:00
  • 407e27d176 feat(crypto-nodejs): Make changed and left optional in DeviceLists constructor. Ivan Enderlin 2022-06-06 10:27:32 +02:00
  • 0f758a643c refactor(crypto): Make the boolean parameter for the backup verification clearer Damir Jelić 2022-06-03 13:09:20 +02:00
  • fd2ae1ed8f docs(crypto): Improve some backup verfication docs Damir Jelić 2022-06-02 14:53:11 +02:00
  • 2b13c0832f refactor(crypto): Introduce a struct for the backup info Damir Jelić 2022-05-31 12:31:19 +02:00
  • b3fbd15270 feat(crypto): Improve the API to verify backups Damir Jelić 2022-05-28 10:47:59 +02:00
  • 4e3e393596 refactor(appservice): Better virtual client sync Amanda Graven 2022-05-25 08:37:19 +02:00
  • 7f81e7c61b chore: Optimize quote even in debug mode Jonas Platte 2022-06-01 13:44:11 +02:00
  • a75ae16b79 test(crypto-nodejs): Add more test suites. Ivan Enderlin 2022-06-02 15:58:30 +02:00
  • 9ebc61ad0f test(crypto-nodejs): Adding more test suites. Ivan Enderlin 2022-06-02 15:24:22 +02:00
  • 0d66480cd6 fix(crypto-nodejs): OlmMachine.new effectively raises an error. Ivan Enderlin 2022-06-02 15:23:25 +02:00
  • 02802e9088 feat(crypto-nodejs): EncryptionSettings.rotation_period and .…_period_messages are now BigInt. Ivan Enderlin 2022-06-02 13:59:00 +02:00
  • 1a6adc6d41 chore(crypto-nodejs): Ignore package-lock.json for now. Ivan Enderlin 2022-06-02 11:10:55 +02:00
  • 6d10d6150c test(crypto-nodejs): Add some test suites. Ivan Enderlin 2022-06-02 11:09:57 +02:00
  • fb1a2f6d94 feat(appservice): Add support for appservice login Damir Jelić 2022-06-02 10:36:33 +02:00
  • bdee4e0547 refactor(crypto): Use a result type for invalid signatures Damir Jelić 2022-06-01 13:38:01 +02:00
  • 42d5eec8b7 docs(crypto): Improve Signature doc comment. Denis Kasak 2022-06-01 11:20:39 +02:00
  • e50c1465ea docs(crypto): Improve some signature verification related docs Damir Jelić 2022-06-01 13:13:37 +02:00
  • 5827cc9a39 refactor(crypto): Use ? instead of nesting closures when searching for a key Damir Jelić 2022-05-31 13:44:47 +02:00
  • c95fd93666 fix(types): Allow Ed25519 signatures to be invalid Damir Jelić 2022-05-30 15:24:16 +02:00
  • d96fcf7199 refactor(crypto): Return a Signatures struct in the sign method Damir Jelić 2022-05-27 16:32:00 +02:00
  • e2348471db fix(crypto): Make fetching of the first cross signing key more robust Damir Jelić 2022-05-27 15:46:46 +02:00
  • 8e120eb648 doc(crypto-nodejs): Write missing documentation. Ivan Enderlin 2022-06-02 09:23:26 +02:00
  • c573985c64 chore(crypto-nodejs): Add a .gitignore for artifacts. Ivan Enderlin 2022-06-02 09:19:17 +02:00
  • 6a996c7657 doc(crypto-nodejs): Write missing documentation and clean up the code. Ivan Enderlin 2022-06-02 09:18:26 +02:00
  • 7bb96e0ece chore(crypto-node): Use Either7 (new pending feature). Ivan Enderlin 2022-06-01 22:25:29 +02:00
  • dc7f0389b1 chore(crypto-node): Document and add napi(getter) when necessary. Ivan Enderlin 2022-05-31 17:28:08 +02:00
  • 5d4b3a0457 feat(crypto-nodejs): Implement OlmMachine.decrypt_room_event. Ivan Enderlin 2022-05-31 17:15:37 +02:00
  • 888ffb0a56 chore(crypto-node): Use Either5 + Either3 instead of Either. Ivan Enderlin 2022-05-31 16:22:36 +02:00
  • 475fffb64d feat(crypto-nodejs): Implement OlmMachine.encrypt_room_event. Ivan Enderlin 2022-05-31 15:53:12 +02:00
  • a8b44f26ea feat(crypto-nodejs): Implement OlmMachine.share_room_key. Ivan Enderlin 2022-05-31 12:05:45 +02:00
  • a7697fbd32 feat(crypto-nodejs): Implement OlmMachine.get_missing_sessions. Ivan Enderlin 2022-05-31 10:38:31 +02:00
  • 02e63ab9c1 chore(crypto-js): Remove a useless import. Ivan Enderlin 2022-05-31 10:14:31 +02:00
  • 8d909ccabe feat(crypto-nodejs): Implement OlmMachine.mark_request_as_sent. Ivan Enderlin 2022-05-31 10:13:17 +02:00
  • 2e22f6b6c0 feat(crypto-nodejs): Implement OlmMachine.outgoing_requests. Ivan Enderlin 2022-05-31 09:53:02 +02:00
  • 7c85fdaf28 doc(crypto-js): Update documentation. Ivan Enderlin 2022-05-30 17:47:11 +02:00
  • 1ecf90bb42 feat(crypto-nodejs): Implement OlmMachine.receive_sync_changes. Ivan Enderlin 2022-05-30 17:46:00 +02:00
  • e2ecba7d45 feat(crypto-nodejs): Implement OlmMachine.update_tracked_users. Ivan Enderlin 2022-05-30 17:04:10 +02:00
  • 8a0e0a7a4d feat(crypto-nodejs): Start implementing OlmMachine API. Ivan Enderlin 2022-05-30 15:53:53 +02:00
  • c562d91533 feat(appservice): Use appservice logins for e2ee Charlotte 🦝 Delenk 2022-05-31 09:48:12 +01:00
  • 3cf4150df2 feat: Rename OlmMachine.share_group_session to OlmMachine.share_room_key Ivan Enderlin 2022-06-01 15:08:58 +02:00
  • b3d52ca68c feat: Rename OlmMachine.share_group_session to OlmMachine.share_room_key. Ivan Enderlin 2022-05-31 11:51:53 +02:00
  • e673954b98 chore: Add missing new lines at the end of files Ivan Enderlin 2022-05-31 10:31:08 +02:00
  • 6d7573dced chore: Add missing new lines at the end of files. Ivan Enderlin 2022-05-31 10:06:35 +02:00
  • 2d14452398 Merge pull request #675 from Hywan/feat-crypto-wasm Ivan Enderlin 2022-05-31 10:01:57 +02:00
  • 7931c4a589 chore(crypto-js): Clean up code and make CI happy. Ivan Enderlin 2022-05-30 11:02:24 +02:00
  • 4db1ad350b feat(crypto-nodejs): Derive Debug for UserId. Ivan Enderlin 2022-05-30 11:00:35 +02:00
  • 0debbf24d7 chore(crypto-js): Remove an unknown Clippy lint for now. Ivan Enderlin 2022-05-30 10:58:30 +02:00
  • bb8217d10f doc(crypto-nodejs) Disable missing docs for now. Ivan Enderlin 2022-05-30 10:55:24 +02:00
  • 6ff5c8e918 chore(crypto-js): Thanks Clippy. Ivan Enderlin 2022-05-30 10:44:16 +02:00
  • 7fa89f76aa chore(crypto-js): Update vodozemac's version to match matrix-sdk-crypto's. Ivan Enderlin 2022-05-30 10:08:29 +02:00
  • 0335fdd07f doc(crypto): Add missing module documentation. Ivan Enderlin 2022-05-30 10:00:54 +02:00
  • 3f8e3b61ff test(xtask) Replace WasmFeatureSet::MatrixSdkCrypto by *Js. Ivan Enderlin 2022-05-30 09:56:08 +02:00
  • efe5ea6a9c test(ci): Exclude matrix-sdk-crypto-(js|nodejs) from code coverage. Ivan Enderlin 2022-05-30 09:43:07 +02:00
  • 6afeeea56c test(ci): Do not compile matrix-sdk-crypto to Wasm, but -crypto-js instead. Ivan Enderlin 2022-05-30 09:42:09 +02:00
  • bef1dfbf79 chore(crypto-js): Fix typos. Ivan Enderlin 2022-05-30 09:37:30 +02:00
  • 51488b40d0 doc(crypto-js) Add missing documentation. Ivan Enderlin 2022-05-30 09:35:21 +02:00
  • b6a637893e chore(crypto-js): Fix cargo fmt. Ivan Enderlin 2022-05-30 08:48:55 +02:00
  • 2a4dce30b2 Merge branch 'main' into feat-crypto-wasm Ivan Enderlin 2022-05-31 08:40:11 +02:00
  • 3194ad1f9a feat(crypto-js): Implement OlmMachine.get_verification. Ivan Enderlin 2022-05-24 16:08:11 +02:00
  • ee648144a2 feat(crypto-nodejs): Split into a new crate: matrix-sdk-crypto-nodejs. Ivan Enderlin 2022-05-24 14:17:37 +02:00
  • afef9103a3 feat(crypto-js): Continue to port the API to NodeJS. Ivan Enderlin 2022-05-24 11:54:41 +02:00
  • 4df5ee6087 chore(crypto-js): Improve the Makefile for NodeJS support. Ivan Enderlin 2022-05-23 17:23:00 +02:00
  • 1a731ec385 feat(crypto-js): Rename OlmMachine.encrypt to .encrypt_room_event. Ivan Enderlin 2022-05-23 15:59:04 +02:00
  • 84fe78bab3 Merge branch 'main' into feat-crypto-wasm Ivan Enderlin 2022-05-31 08:39:29 +02:00
  • bce11b209e feat(crypto-js): Implement OlmMachine.update_tracked_users. Ivan Enderlin 2022-05-23 15:55:31 +02:00
  • 6c472f873f feat(crypto-js): Start adding support for NodeJS. Ivan Enderlin 2022-05-23 15:40:37 +02:00
  • 250b85dc79 feat(crypto): Extract js module to its own crate: matrix-sdk-crypto-js. Ivan Enderlin 2022-05-31 08:38:13 +02:00
  • f3ab1ae276 chore(crypto): Fix a typo. Ivan Enderlin 2022-05-19 14:41:08 +02:00
  • 6b2df7afdd feat(crypto): Implement `OlmMachine.get_missing_sessions. Ivan Enderlin 2022-05-19 14:30:09 +02:00
  • cdb252be5e chore(crypto): Move everything inside crates/matrix-sdk-crypto/. Ivan Enderlin 2022-05-19 14:29:36 +02:00
  • db30ef6ee4 test(crypto): Add tests for the Wasm API. Ivan Enderlin 2022-05-17 16:55:25 +02:00
  • da8699fe40 feat(crypto): DeviceLists.new expects Array<UserId>s now. Ivan Enderlin 2022-05-17 16:18:58 +02:00
  • 16b5eebe23 feat(crypto): Implement a hacky downcast function. Ivan Enderlin 2022-05-17 16:18:10 +02:00
  • 8161360852 feat(crypto): Add toString methods on identifier objects. Ivan Enderlin 2022-05-17 13:32:59 +02:00
  • f01cfe42b4 feat(crypto): Implement EncryptionSettings.new with default values. Ivan Enderlin 2022-05-17 11:32:18 +02:00
  • a024c9b268 docs(crypto): Add missing documentation. Ivan Enderlin 2022-05-17 11:05:16 +02:00
  • c20349f46f feat(crypto): Implement OlmMachine.share_group_session. Ivan Enderlin 2022-05-17 11:00:27 +02:00
  • e9d37d7c4e docs(crypto): Add missing docs. Ivan Enderlin 2022-05-17 10:59:48 +02:00
  • 8b94aed27f fix(crypto): Use txn_id for transaction_id. Ivan Enderlin 2022-05-17 10:59:33 +02:00
  • dc5b15e799 fix(crypto): OutgoingRequest::ToDeviceRequest was not correctly mapped. Ivan Enderlin 2022-05-17 10:59:11 +02:00
  • 30e9189f7b fix(crypto): Use JavaScript naming convention for OlmMachine.invalidate_group_session. Ivan Enderlin 2022-05-17 10:14:38 +02:00
  • b6a5d4962b Merge branch 'main' into feat-crypto-wasm Ivan Enderlin 2022-05-31 08:36:30 +02:00
  • ee713f928f feat(crypto): Implement OlmMachine.encrypt and .invalidate_group_session. Ivan Enderlin 2022-05-17 10:07:01 +02:00
  • 444ff9936b feat(crypto): Implement RoomId. Ivan Enderlin 2022-05-17 09:37:04 +02:00
  • 2451815226 feat(crypto): Implement *PublicKey.to_base64 and .length. Ivan Enderlin 2022-05-17 09:29:19 +02:00
  • 86c6e601bd chore(crypto): Refactor the code with TryFrom on a tuple. Ivan Enderlin 2022-05-16 18:18:33 +02:00
  • 9f159ff5a4 feat(crypto): Implement OlmMachine.mark_request_as_sent. Ivan Enderlin 2022-05-16 17:48:23 +02:00
  • 056f34883f feat(crypto): Implement OlmMachine.trackedUsers. Ivan Enderlin 2022-05-16 15:23:58 +02:00
  • 2d15f758da feat(crypto): Use JavaScript naming style for methods. Ivan Enderlin 2022-05-16 15:12:23 +02:00
  • acd5de3cf3 feat(crypto): Implement ServerName, and add UserId.serverName. Ivan Enderlin 2022-05-16 15:08:36 +02:00
  • f0bb35a96c feat(crypto): Add changed and left to the constructor of DeviceLists. Ivan Enderlin 2022-05-16 14:51:46 +02:00
  • 1d38e54739 feat(crypto): Return a JsError rather than a String. Ivan Enderlin 2022-05-16 11:05:46 +02:00