the-djmaze / snappymail

Simple, modern & fast web-based email client
https://snappymail.eu
GNU Affero General Public License v3.0
924 stars 109 forks source link

Add new account - Your login passphrase has changed. Please fill in your old login passphrase to decrypt data #1613

Closed warumwirleben closed 1 month ago

warumwirleben commented 1 month ago

Describe the bug If I try to add a new mailbox, the message "Your login passphrase has changed. Please fill in your old login passphrase to decrypt data" appears. After entering the username and password there is a loop - nothing happens.

To Reproduce Steps to reproduce the behavior:

  1. Go to Add Account (or however it is called)
  2. Enter eMail, Password and Name
  3. Click Add
  4. See error

Expected behavior Please add my account.

Screenshots not needed

Please complete the following information:

the-djmaze commented 1 month ago

And what kind of Nextcloud login do you use?

Because login passphrases don't change unless you use OIDC or something else that changed the passphrase. And then SnappyMail asks for your OLD/PREVIOUS password.

warumwirleben commented 1 month ago

Oh that was my fault. Please excuse. OK. Thanks for you quick support!

I have the password, it worked. What could I do if I do not have the old password?

the-djmaze commented 1 month ago

What could I do if I do not have the old password?

Delete all configured additional accounts and backup PGP keys. Also delete the .cryptkey file on the filesystem.

SnappyMail encrypts the additional account passphrase as you don't want that being exposed by anyone else then you (in case of a hack or insecure backup or you don't trust the hosting provider).

warumwirleben commented 1 month ago

Thank you - SOLVED :)