mtx::secret_storage::AesHmacSha2KeyDescription struct

Description of the key for a secret.

Public variables

std::string name
Required. The name of the key.
std::optional<PBKDF2> passphrase
See deriving keys from passphrases section for a description of this property.
std::string iv
The 16-byte initialization vector, encoded as base64.
std::string mac
The MAC of the result of encrypting 32 bytes of 0, encoded as base64.
std::map<std::string, std::map<std::string, std::string>> signatures
userid -> key -> key (undocumented)

Variable documentation

std::string mtx::secret_storage::AesHmacSha2KeyDescription::name

Required. The name of the key.

Required. The encryption algorithm to be used for this key. Currently, only m.secret_storage.v1.aes-hmac-sha2 is supported.