Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use unpadded base64 for secrets data stored in SSSS #15233

Open
manuroe opened this issue Sep 18, 2020 · 0 comments
Open

Use unpadded base64 for secrets data stored in SSSS #15233

manuroe opened this issue Sep 18, 2020 · 0 comments
Labels
A-E2EE-Cross-Signing P2 S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@manuroe
Copy link
Member

manuroe commented Sep 18, 2020

From element-ios created by manuroe: element-hq/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()
        )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE-Cross-Signing P2 S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

No branches or pull requests

2 participants