- Expose
version
field ofKeysBackupRequest
.
-
The
BackupKeys
structure returned byOlmMachine.getBackupKeys
now contains adecryptionKey
property which is is aBackupDecryptionKey
instance. -
Expose
SignatureVerification.trusted
method.
- Expose bindings for secure key backup.
- Expose
OwnUserIdentity.isVerified
.
- Mark our
OwnUserIdentity
as verified if we successfully import the matching private keys.
No functional changes. Fixes for the release process which prevented v1.0.0 being released.
Project renamed to matrix-sdk-crypto-wasm
. No functional changes.
- Add method
OlmMachine.queryKeysForUsers
to build an out-of-band key request.
- Fix bug introduced in v0.1.2 which caused an undocumented change to the results of
OlmMachine.receiveSyncChanges
.
- Fix a bug which could cause generated one-time-keys not to be persisted.
WARNING: this version had a breaking change in the result type of OlmMachine.receiveSyncChanges
.
This is corrected in v0.1.3.
- Add
Qr.state()
method to inspect the current state of QR code verifications.
- Fix handling of SAS verification start events once we have shown a QR code.
- Add
verify
method toDevice
.
-
In
OlmMachine.getIdentity
, wait a limited time for any in-flight device-list updates to complete. -
Add
VerificationRequest.timeRemainingMillis()
.
- When rejecting a key-verification request over to-device messages, send the
m.key.verification.cancel
to the device that made the request, rather than broadcasting to all devices.
- Simplify the response type of
Sas.confirm()
. - Add
VerificationRequest.registerChangesCallback()
,Sas.registerChangesCallback()
, andQr.registerChangesCallback()
. - Add
VerificationRequest.phase()
andVerificationRequest.getVerification()
.
-
Add support for the
hkdf-hmac-sha256.v2
SAS message authentication code. -
Ensure that the correct short authentication strings are used when accepting a SAS verification with the
Sas::accept()
method.
- Add
masterKey
,userSigningKey
,selfSigningKey
toUserIdentity
andOwnUserIdentity
- Extend
OlmDevice.markRequestAsSent
to accept responses toSigningKeysUploadRequest
s. - Add a missing
const
for compatibility with ECMAScript Module compatibility mode. - Fix the body of
SignatureUploadRequest
s to match the spec. - Add a constructor for
SigningKeysUploadRequest
.
importCrossSigningKeys
: change the parameters to be individual keys rather than aCrossSigningKeyExport
object.- Make
unused_fallback_keys
optional inMachine.receive_sync_changes
- Add new accessors
Device.algorithms
andDevice.isSignedByOwner
- In
OlmMachine.getUserDevices
, wait a limited time for any in-flight device-list updates to complete.
- Add new accessor
InboundGroupSession.senderKey
. - Add a new API,
OlmMachine.registerRoomKeyUpdatedCallback
, which applications can use to listen for received room keys.