Properties for a SSSS key using the m.secret_storage.v1.aes-hmac-sha2 algorithm.

Corresponds to AesHmacSha2KeyDescription in the specification.

interface SecretStorageKeyDescriptionAesV1 {
    algorithm: string;
    iv: string;
    mac: string;
    name: string;
    passphrase: PassphraseInfo;
}

Hierarchy (view full)

Properties

algorithm: string

The encryption algorithm used with this key.

iv: string

The 16-byte AES initialization vector, encoded as base64.

mac: string

The MAC of the result of encrypting 32 bytes of 0, encoded as base64.

name: string

A human-readable name for this key.

passphrase: PassphraseInfo

Information for deriving this key from a passphrase.