We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CreateSecretStorageOpts.getKeyBackupPassphrase
1 parent f17a4fe commit 30a2681Copy full SHA for 30a2681
src/crypto-api/index.ts
@@ -854,9 +854,14 @@ export interface CreateSecretStorageOpts {
854
setupNewSecretStorage?: boolean;
855
856
/**
857
- * Function called to get the user's
858
- * current key backup passphrase. Should return a promise that resolves with a Uint8Array
+ * Function called to get the user's current key backup passphrase.
+ *
859
+ * Should return a promise that resolves with a Uint8Array
860
* containing the key, or rejects if the key cannot be obtained.
861
862
+ * Only used when the client has existing key backup, but no secret storage.
863
864
+ * @deprecated Not used by the Rust crypto stack.
865
*/
866
getKeyBackupPassphrase?: () => Promise<Uint8Array>;
867
}
0 commit comments