element-hq / element-hq/element-web
Use unpadded base64 for secrets data stored in SSSS
Open
A-E2EE-Cross-Signing
P2
S-Minor
T-Defect
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
From element-ios created by [manuroe](https://github.com/manuroe): vector-im/element-ios#3669:
Use unpadded base64 for secrets data stored in SSSS (secure secret storage and sharing)
@uhoreg advises that all platform should do like the android-sdk, ie:
````
EncryptedSecretContent(
ciphertext = cipherBytes.toBase64NoPadding(),
initializationVector = iv.toBase64NoPadding(),
mac = digest.toBase64NoPadding()
)
Contributor guide
Assessment
This issue has not been assessed yet.