Menu

Never prompts for passphrase after dismissing passphrase request

2018-04-03
2018-04-03
  • Victor Engmark

    Victor Engmark - 2018-04-03

    To reproduce:

    1. Receive an encrypted email
      (Optional but relevant since to demonstrate that otherwise Enigmail is working as expected:
    2. Click on the email
    3. Decrypt the email successfully
    4. Do other non-PGP stuff until the passphrase expires
      )
    5. Click the encrypted email
    6. Dismiss the passphrase dialogue
    7. Click on a different email
    8. Click the encrypted email for the third time

    What I expected to happen: Thunderbird should prompt me for the passphrase again, or at least give some hint as to how I can decrypt the email.

    What actually happens: The email rendering part of the window contains only a message "Enigmail" followed by "Missing passphrase; click on 'Details' button [sic] for more information", followed by a "Details" button. The button reveals a menu consisting of only two clickable items, "Enigmail Security Info…" and "Copy Enigmail Security Info". The security info is:

    Missing passphrase

    gpg: decryption failed: No secret key

    Which is wrong on at least some level, since I decrypted the same email earlier. Decryption also works fine if I restart Thunderbird, but that really should not be necessary.

     
  • Patrick Brunschwig

    Enigmail remembers the last decrypted message. And apparently it doesn't correctly notice if you didn't enter the password correctly and just re-displays the previous information. To make Enigmail correctly re-load the message click on menu Enigmail > Reload Message (or on any other PGP/MIME encrypted message).

    If you don't see the menu item "Reload Message", first open the Enimgail preferences, and click on "Display expert settings and menus".

    I'll fix this.

     

Log in to post a comment.

MongoDB Logo MongoDB