element-hq / element-hq/element-web

Use unpadded base64 for secrets data stored in SSSS

Open
#15,233 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.