diff --git a/grpc/org.signal.chat.account.html b/grpc/org.signal.chat.account.html index d29498097..828d45ed0 100644 --- a/grpc/org.signal.chat.account.html +++ b/grpc/org.signal.chat.account.html @@ -186,6 +186,24 @@ +
+
+ Message
+ ConfirmTotpKeyRequest
+
+
+
+ Message
+ ConfirmTotpKeyResponse
+
+
Message
@@ -280,6 +298,24 @@
+
+
+ Message
+
+
+ Message
+
Message
@@ -370,6 +406,44 @@
+
+
+ Message
+
+
+ Message
+
+
+ Message
+
+
+ Message
+
Message
@@ -406,6 +480,15 @@
+
+
+ Message
+
@@ -417,6 +500,24 @@
+
+
+ Message
+
+
+ Message
+
Message
@@ -489,6 +590,24 @@
+
+
+ Message
+
+
+ Message
+
Message
@@ -534,6 +653,24 @@
+
+
+ Message
+
+
+ Message
+
Message
@@ -920,6 +1057,110 @@ via the Contact Discovery Service (CDS). Gets the capabilities for the authenticated account. Generates and stores a pending TOTP key for the authenticated account.
+To "activate" the key, callers must call the Confirms that the caller has stored and can derive one-time passwords from
+a pending TOTP key generated via Returns a list of confirmed TOTP keys for the authenticated account Updates encrypted, user-supplied metadata (e.g. a human-readable name and
+creation timestamp) for an existing, confirmed TOTP key Removes a TOTP from the authenticated account A one-time password derived from the current pending TOTP key The ciphertext of user-provided metadata (presumably including a
+human-readable name and creation timestamp) to be attached to the
+newly-confirmed key The provided one-time password was accepted and the pending TOTP key was
+stored with the provided name ciphertext The provided one-time password was not valid for any reason (including
+incorrect passwords, misaligned clocks, or missing account records) A new, pending TOTP key has been generated and added to the authenticated
+account The authenticated account already has too many TOTP keys, and the caller
+must remove one before adding more The account-specific identifier for the newly-confirmed TOTP key The raw TOTP key The TOTP parameters associated with the generated key The account-specific identifier of the TOTP key to remove The account-specific identifier of the TOTP key to modify The ciphertext of the new user-provided metadata to be attached to the
+identified key New metadata was stored for the identified TOTP key No TOTP was found with the given ID The user-provided ciphertext for metadata associated with this TOTP key The TOTP parameters associated with this key The HMAC algorithm (e.g. "HmacSHA256") used by the TOTP generator The length of one-time passwords (in decimal digits) produced and expected
+by the TOTP generator The time step (in seconds) used by the TOTP generator
+
+ Message
+
+
+ Message
+
@@ -414,6 +432,32 @@ should use the version of this method in Note: Returns credentials used by clients to upload a v1 avatar, deleting any current avatar. This RPC streamlines avatar changes during the v1 -> v2 transition by minimizing uploads:
+1. SetV1Avatar
+2. Upload to CDN
+3. SetProfile with v1 Clients that do this will be required to upload current avatars using the policy and credential used by clients to upload an avatar to the CDN The profile version. Required. The profile key commitment. Required if this is a new profile version. the policy and credential used by clients to upload an avatar to the CDNGenerateTotpKeyRequest
+
+ GenerateTotpKeyResponse
+
+ KeyConfirmed
+
+ KeyGenerated
+
+ ListTotpKeysRequest
+
+ ListTotpKeysResponse
+
+ MetadataUpdated
+
+ RemoveTotpKeyRequest
+
+ RemoveTotpKeyResponse
+
+ SetTotpKeyMetadataRequest
+
+ SetTotpKeyMetadataResponse
+
+ TotpKeyMetadata
+
+ TotpParameters
+
+
+
+ rpc
+ Request: GenerateTotpKey
+
+ org.signal.chat.account.GenerateTotpKeyRequest
+
+ Response: org.signal.chat.account.GenerateTotpKeyResponse
+
+ ConfirmTotpKey endpoint.
+
+ rpc
+ Request: ConfirmTotpKey
+
+ org.signal.chat.account.ConfirmTotpKeyRequest
+
+ Response: org.signal.chat.account.ConfirmTotpKeyResponse
+
+ GenerateTotpKey and stores/activates the
+key for the caller's account
+
+ rpc
+ Request: ListTotpKeys
+
+ org.signal.chat.account.ListTotpKeysRequest
+
+ Response: org.signal.chat.account.ListTotpKeysResponse
+
+
+
+ rpc
+ Request: SetTotpKeyMetadata
+
+ org.signal.chat.account.SetTotpKeyMetadataRequest
+
+ Response: org.signal.chat.account.SetTotpKeyMetadataResponse
+
+
+
+ rpc
+ Request: RemoveTotpKey
+
+ org.signal.chat.account.RemoveTotpKeyRequest
+
+ Response: org.signal.chat.account.RemoveTotpKeyResponse
+
+
+
+ message ConfirmTotpKeyRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+ 1
+
+ one_time_password
+
+
+
+
+
+ uint32
+
+
+
+
+
+
+
+
+2
+
+ metadata_ciphertext
+
+
+
+
+
+ bytes
+
+
+
+
+
+ message ConfirmTotpKeyResponse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+ key_confirmed
+
+
+
+
+
+ org.signal.chat.account.ConfirmTotpKeyResponse.KeyConfirmed
+
+
+
+
+
+
+
+
+
+
+ 2
+
+
+ one_time_password_not_verified
+
+
+
+
+
+ org.signal.chat.errors.FailedPrecondition
+
+
+
+
+
+
+ message GenerateTotpKeyRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+ message GenerateTotpKeyResponse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+ key_generated
+
+
+
+
+
+ org.signal.chat.account.GenerateTotpKeyResponse.KeyGenerated
+
+
+
+
+
+
+
+
+
+
+ 2
+
+
+ too_many_totp_keys
+
+
+
+
+
+ org.signal.chat.errors.FailedPrecondition
+
+
+
+
+
+
+ message KeyConfirmed
+
+
+
+
(Nested in org.signal.chat.account.ConfirmTotpKeyResponse
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+1
+
+ key_id
+
+
+
+
+
+ uint32
+
+
+
+
+
+ message KeyGenerated
+
+
+
+
(Nested in org.signal.chat.account.GenerateTotpKeyResponse
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+ 1
+
+ key
+
+
+
+
+
+ bytes
+
+
+
+
+
+
+
+
+2
+
+ totp_parameters
+
+
+
+
+
+ org.signal.chat.account.TotpParameters
+
+
+
+
+
+
+ message ListTotpKeysRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+ message ListTotpKeysResponse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+1
+
+ keys
+
+
+
+
+
+ map<int32, TotpKeyMetadata>
+
+
+
+
+
+ message MetadataUpdated
+
+
+
+
(Nested in org.signal.chat.account.SetTotpKeyMetadataResponse
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+ message RemoveTotpKeyRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+1
+
+ key_id
+
+
+
+
+
+ uint32
+
+
+
+
+
+ message RemoveTotpKeyResponse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+ message SetTotpKeyMetadataRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+ 1
+
+ key_id
+
+
+
+
+
+ uint32
+
+
+
+
+
+
+
+
+2
+
+ metadata_ciphertext
+
+
+
+
+
+ bytes
+
+
+
+
+
+ message SetTotpKeyMetadataResponse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+ metadata_updated
+
+
+
+
+
+ org.signal.chat.account.SetTotpKeyMetadataResponse.MetadataUpdated
+
+
+
+
+
+
+
+
+
+
+ 2
+
+
+ key_not_found
+
+
+
+
+
+ org.signal.chat.errors.NotFound
+
+
+
+
+
+
+ message TotpKeyMetadata
+
+
+
+
(Nested in org.signal.chat.account.ListTotpKeysResponse
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+ 1
+
+ metadata_ciphertext
+
+
+
+
+
+ bytes
+
+
+
+
+
+
+
+
+2
+
+ totp_parameters
+
+
+
+
+
+ org.signal.chat.account.TotpParameters
+
+
+
+
+
+
+ message TotpParameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+ 1
+
+ algorithm
+
+
+
+
+
+ string
+
+
+
+
+
+
+ 2
+
+ password_length
+
+
+
+
+
+ uint32
+
+
+
+
+
+
+
+
+3
+
+ time_step_seconds
+
+
+
+
+
+ uint32
+
+
+
+ SetV1AvatarRequest
+
+ SetV1AvatarResponse
+
+ ProfileAnonymous instead.<
Accounts.SetZkCredentialKey is a pre-requisite for this RPC
+
+ rpc
+ Request: SetV1Avatar
+
+ org.signal.chat.profile.SetV1AvatarRequest
+
+ Response: org.signal.chat.profile.SetV1AvatarResponse
+
+ AVATAR_CHANGE_UNCHANGED and the v1 avatar in the v2 profile bodyProfilesAnonymous.GetAvatarUploadFormRequest
+once v1 Profile APIs are no longer supported.
+
@@ -2821,6 +2865,122 @@ field number without serialization overhead. This is purely aesthetic.
+
+ message SetV1AvatarRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+ 1
+
+ version
+
+
+
+
+
+ string
+
+
+
+
+
+
+
+
+2
+
+ commitment
+
+
+
+
+
+ bytes
+
+
+
+
+
+ message SetV1AvatarResponse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+1
+
+ form
+
+
+
+
+
+ org.signal.chat.common.S3UploadForm
+
+
+
+
+