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

Brief flash of encrypted content when submitting a message #728

Open
brassy-endomorph opened this issue Oct 31, 2024 · 3 comments
Open

Brief flash of encrypted content when submitting a message #728

brassy-endomorph opened this issue Oct 31, 2024 · 3 comments

Comments

@brassy-endomorph
Copy link
Collaborator

Describe the bug

The original message flashes away, the armored PGP message appears, then the page submits/refreshes.

To Reproduce

  1. Go to /profile/foo
  2. Type message, fill out captcha
  3. Submit

Expected behavior

The message submits without flashing altered text as this may confuse or worry the user

@glenn-sorrentino
Copy link
Member

This is openpgp.js encrypting the text before sending for e2ee.

@brassy-endomorph
Copy link
Collaborator Author

It should be possible to intercept the click event and have the JS do the POST entirely so the user doesn't see the flash at all.

@glenn-sorrentino
Copy link
Member

Rather not change it until we know it's a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants