From a0fdf6ee785fcc92dcaccdd1617607340841754d Mon Sep 17 00:00:00 2001
From: Documentation Updater
+
+ Message
+
+
+ Message
+
Message
@@ -415,6 +433,15 @@
+
+
+ Message
+
Message
@@ -662,6 +689,24 @@
+
+
+ Message
+
+
+ Message
+
+
+ Message
+
@@ -1082,7 +1136,8 @@ via the Contact Discovery Service (CDS). Generates and stores a pending TOTP key for the authenticated account.
-To "activate" the key, callers must call the TOTP keys may only be generated for accounts without phone numbers. Confirms that the caller has stored and can derive one-time passwords from
a pending TOTP key generated via TOTP keys may only be generated for accounts without phone numbers. Returns parameters for initiating a WebAuthn registration ceremony WebAuthn credentials may only be registered for accounts without phone numbers Concludes a WebAuthn registration ceremony to add a passkey to the authenticated account WebAuthn credentials may only be registered for accounts without phone numbers The attestation object from a completed registration ceremony, serialized
+as specified in https://www.w3.org/TR/webauthn/#attestation-object The "collected client data" map used in the registration ceremony, as the
+exact JSON map that was hashed for the authenticator 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 public key has been registered for the account The registration response was not verified successfully for any reason The authenticated account already has too many MFA keys, and the
+caller must remove one before adding one (this can be true even if it
+was not when starting the request, since there is nothing to prevent
+multiple registrations from occurring in parallel) An account-specific identifier for the new WebAuthn key / The user-provided ciphertext for metadata associated with this MFA key The user-provided ciphertext for metadata associated with this MFA key / The type of MFA factor this key is for The type of MFA factor this key is for New metadata was stored for the identified TOTP key New metadata was stored for the identified key The parameters to use for a WebAuthn registration ceremony The authenticated account already has too many MFA keys, and the
+caller must remove one before adding one The "user handle" (user.id) that should be handed to the authenticator The COSE IDs (https://www.iana.org/assignments/cose#algorithms) of
+acceptable algorithms for the created key A list of the credential IDs already registered for this account; these
+can be passed to candidate authenticators to tell them not to create a
+new key if they already have a private key matching one of these
+
+ Message
+
Message
@@ -599,6 +608,25 @@ redemption times after the expiration may be on a lower backup level. Retrieve backup ID rotation limitsFinishWebAuthnRegistrationRequest
+
+ FinishWebAuthnRegistrationResponse
+
+ KeyConfirmed
+
+ StartWebAuthnRegistrationRequest
+
+ StartWebAuthnRegistrationResponse
+
+ WebAuthnCreateParameters
+
+ ConfirmTotpKey endpoint.ConfirmTotpKey endpoint.
+ConfirmTotpKey endpoin
GenerateTotpKey and stores/activates the
-key for the caller's account
+
+ rpc
+ Request: StartWebAuthnRegistration
+
+ org.signal.chat.account.StartWebAuthnRegistrationRequest
+
+ Response: org.signal.chat.account.StartWebAuthnRegistrationResponse
+
+
+
+ rpc
+ Request: FinishWebAuthnRegistration
+
+ org.signal.chat.account.FinishWebAuthnRegistrationRequest
+
+ Response: org.signal.chat.account.FinishWebAuthnRegistrationResponse
+
+
+
+ message FinishWebAuthnRegistrationRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+ 1
+
+ attestation_object
+
+
+
+
+
+ bytes
+
+
+
+
+
+
+ 2
+
+ collected_client_data_json
+
+
+
+
+
+ string
+
+
+
+
+
+
+
+
+3
+
+ metadata_ciphertext
+
+
+
+
+
+ bytes
+
+
+
+
+
+ message FinishWebAuthnRegistrationResponse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+ key_confirmed
+
+
+
+
+
+ org.signal.chat.account.FinishWebAuthnRegistrationResponse.KeyConfirmed
+
+
+
+
+
+
+
+
+
+
+ 2
+
+
+ key_not_confirmed
+
+
+
+
+
+ org.signal.chat.errors.FailedPrecondition
+
+
+
+
+
+
+
+
+
+
+ 3
+
+
+ too_many_mfa_keys
+
+
+
+
+
+ org.signal.chat.errors.FailedPrecondition
+
+
+
+
+
+
+ message KeyConfirmed
+
+
+
+
(Nested in org.signal.chat.account.FinishWebAuthnRegistrationResponse
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+1
+
+ key_id
+
+
+
+
+
+ uint32
+
+
+
+
+
@@ -4195,7 +4539,7 @@ the caller must remove one before adding more
-
+
@@ -4697,7 +5041,7 @@ identified key
1
- metadata_updated
+ success
-
@@ -4706,7 +5050,7 @@ identified key
+
@@ -5216,6 +5560,128 @@ device).
+
+
+ message StartWebAuthnRegistrationRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+ message StartWebAuthnRegistrationResponse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+ params
+
+
+
+
+
+ org.signal.chat.account.StartWebAuthnRegistrationResponse.WebAuthnCreateParameters
+
+
+
+
+
+
+
+
+
+
+ 2
+
+
+ too_many_mfa_keys
+
+
+
+
+
+ org.signal.chat.errors.FailedPrecondition
+
+
+
+
+
+
+ message WebAuthnCreateParameters
+
+
+
+
(Nested in org.signal.chat.account.StartWebAuthnRegistrationResponse
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+ 1
+
+ user_handle
+
+
+
+
+
+ bytes
+
+
+
+
+
+
+ 2
+
+ allowed_algorithms
+
+
+
+
+
+ repeated
+
+ int64
+
+
+
+
+
+
+
+
+3
+
+ exclude_credential_ids
+
+
+
+
+
+ repeated
+
+ bytes
+
+
+
+
+
+
+
+ MFA_KEY_TYPE_WEBAUTHN2
+
+ GetBackupIdLimitsResponse
+
+
+
+ rpc
+ Request: GetBackupIdLimits
+
+ google.protobuf.Empty
+ Response: org.signal.chat.backup.GetBackupIdLimitsResponse
+
+
| + | Field | +Type | +Description | + +
|---|---|---|---|
| 1 | ++ hasPermitsRemaining + | +
+
+
+ bool
+
+ |
+ If true, a call to SetBackupId may succeed without waiting |
+
+
| 2 | ++ retryAfterSeconds + | +
+
+
+ uint64
+
+ |
+ How long to wait before a permit becomes available, in seconds |
+
+