Skip to content

DeviceVerificationStatus

Defined in: src/crypto-api/index.ts:947

new DeviceVerificationStatus(opts): DeviceVerificationStatus

Defined in: src/crypto-api/index.ts:978

Partial<DeviceVerificationStatus> & object

DeviceVerificationStatus

readonly crossSigningVerified: boolean

Defined in: src/crypto-api/index.ts:961

True if this device has been verified via cross signing.

This does not take into account trustCrossSignedDevices.


readonly localVerified: boolean

Defined in: src/crypto-api/index.ts:971

True if the device has been marked as locally verified.


readonly signedByOwner: boolean

Defined in: src/crypto-api/index.ts:954

True if this device has been signed by its owner (and that signature verified).

This doesn’t necessarily mean that we have verified the device, since we may not have verified the owner’s cross-signing key.


readonly tofu: boolean

Defined in: src/crypto-api/index.ts:966

TODO: tofu magic wtf does this do?

isVerified(): boolean

Defined in: src/crypto-api/index.ts:1003

Check if we should consider this device “verified”.

A device is “verified” if either:

boolean

true if this device is verified via any means.