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

Broken base64 encoding for URL password parameter (shared secret) for SPA calls #2429

Closed
fkwp opened this issue Jun 18, 2024 · 1 comment · Fixed by #2430
Closed

Broken base64 encoding for URL password parameter (shared secret) for SPA calls #2429

fkwp opened this issue Jun 18, 2024 · 1 comment · Fixed by #2430
Assignees
Labels
A-E2EE End-to-end encryption O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs, vulnerabilities, or other reported problems

Comments

@fkwp
Copy link
Contributor

fkwp commented Jun 18, 2024

No description provided.

@fkwp fkwp added T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements T-Defect Something isn't working: bugs, crashes, hangs, vulnerabilities, or other reported problems and removed T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements labels Jun 18, 2024
@fkwp fkwp changed the title Broken base64 encoding for URL password parameter Broken base64 encoding for URL password parameter (shared secret) for SPA calls Jun 18, 2024
@robintown robintown added S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Occasional Affects or can be seen by some users regularly or most users rarely A-E2EE End-to-end encryption labels Jun 18, 2024
@robintown
Copy link
Member

Figured out what's happening: when converting to URL-safe base64 we're calling String.replace instead of String.replaceAll, which replaces only the first instance of + or / in the key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE End-to-end encryption O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs, vulnerabilities, or other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants