Skip to content

Commit

Permalink
Fis typos
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Nov 7, 2024
1 parent 9b06da2 commit 24d24d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ matrixClient.getCrypto().bootstrapSecretStorage({
// If `setupNewSecretStorage` is `true`, you need to fill `createSecretStorageKey`
setupNewSecretStorage: true,
// This function will be called if a new secret storage key (aka recovery key) is needed.
// You should prompt the user to save the keu somewhere, because you will need it to unlock the secret storage.
// You should prompt the user to save the key somewhere, because you will need it to unlock the secret storage.
createSecretStorageKey: async () => {
return mySecretStorageKey;
},
Expand Down Expand Up @@ -382,11 +382,11 @@ Once the key backup and the secret storage are set up, you don't need to set the

### Set up cross-signing

To set up cross-signing to verify devices and other users, call [`CryptoApi.bootstrapCrossSigning`](https://matrix-org.github.io/matrix-js-sdk/interfaces/crypto_api.CryptoApi.html#bootstrapCrossSigning)):
To set up cross-signing to verify devices and other users, call [`CryptoApi.bootstrapCrossSigning`](https://matrix-org.github.io/matrix-js-sdk/interfaces/crypto_api.CryptoApi.html#bootstrapCrossSigning):

```javascript
matrixClient.getCrypto().bootstrapCrossSigning({
authUploadDeviceSigningKeys: (makeRequest) => {
authUploadDeviceSigningKeys: async (makeRequest) => {
return makeRequest(authDict);
},
});
Expand Down

0 comments on commit 24d24d4

Please sign in to comment.