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

Auto decrypt mail #1142

Open
celogeek opened this issue May 29, 2023 · 6 comments
Open

Auto decrypt mail #1142

celogeek opened this issue May 29, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@celogeek
Copy link

Is your feature request related to a problem? Please describe.
When I open a crypted message, I need to click on Decrypt to see it.
For example on ProtonMail, the message is decrypted, and I have an icon to tell me that's a crypted and signed message.

Describe the solution you'd like
Can we have an option to automatically decrypt encrypted mail ?

@the-djmaze
Copy link
Owner

the-djmaze commented May 30, 2023

SnappyMail didn't store decrypt passwords, but the latest version should with the "remember option".
When you use that, you don't fill in your password each time.

However, since we forget to lock our computer when we walk away.
Someone can now decrypt your messages instantly and read them.
Since the security is gone now, your request could be implemented when password is remembered.

@the-djmaze the-djmaze added the enhancement New feature or request label May 30, 2023
@celogeek
Copy link
Author

Indeed, if the password is remember, it will save a click on each message.

  • You see it once
  • click on decrypt
  • fill your password with remember
  • then each other encrypted message are automatically decrypted

Also what I observe on ProtonMail for example, is that the gpg key used for encryption looks like to be the one for connecting to your account.
So if you can log in, then as all email are encrypted with your password, you can access to them.
They are all encrypted.

@randolf
Copy link

randolf commented Jul 14, 2023

Perhaps this behavour should be an option? If so, it could be included in the Security Settings as a simple set of radio buttons (with the default being the current behaviour of requiring the user to click on "Decrypt" first since this should be regarded as a more secure practice):

Automatic decryption in message reader: (_) Yes / (X) No (recommended)

@celogeek
Copy link
Author

The PGP key is store in memory after you seize it once.
So I'm not sure automatic decryption is less secure as anyone can just click on decrypt.

It may be useful to loose it after a delay of inactivity instead. So you have to reenter it.

@the-djmaze
Copy link
Owner

the-djmaze commented Mar 18, 2024

It may be useful to loose it after a delay of inactivity

I've added a delay of 15 minutes inactivity.

Any kind of activity (sign, decrypt, export) resets the timer to 15 minutes.

Auto-decrypt could be feasible now.

@codiflow
Copy link

I would like to invite you also discussing the hardcoded value of 15 minutes here: #1545

I totally get that security should be taken seriously here but having a non-customizable value of 15 minutes leads to other issues like having to enter the PGP password almost every time you want to send and sign an email (which most likely happens more often than decrypting mails).

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

No branches or pull requests

4 participants