Stopping repeated passphrase entry dialog boxes

Douglas's Avatar


14 Feb, 2017 04:41 PM

I don't keep my GPG secret key unlocked, and so whenever I navigate my inbox in Mail and pass through a message that's encrypted, I get a prompt to enter my passphrase to decrypt it. That's fine. But often I don't want to actually decrypt that message, since I was just trying to navigate to a different message. I hit the Cancel button. The problem is that I will get prompted another half dozen or more times if there a multiple messages in the thread, as GPG Mail tries to decrypt each and every one of those, noticing each time that the secret key is locked and prompting me to unlock. Could you please find a way so that it does not prompt me again to decrypt those messages?



  1. Support Staff 1 Posted by Steve on 15 Feb, 2017 12:49 PM

    Steve's Avatar

    Hey Douglas,

    welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.

    Since 10.12 Sierra, Apple has changed the way messages are loaded. That results in the pinentry dialog showing four times per message. So if you want to cancel the dialog, you will have to click cancel four times. If there are more messages in a thread, the process is repeated.

    We have a ticket for this problem. I connected this discussion with the existing ticket. That means, should this discussion get closed, it will be re-opened as soon as the ticket is closed. That way you'll stay in the loop and get notified as soon as we have news. Feel free to open a new discussions should you run into further problems or need assistance.

    All the best,

  2. 2 Posted by thorbjorn on 16 Feb, 2017 06:10 AM

    thorbjorn's Avatar

    I'd prefer to never get a password dialog while browsing, just show an almost empty email, with an decrypt button, and if i click the decrypt button, ask for my password for thatn key.

    mostly I just use my key for signing, but right now, the top email in my inbox (for emails not matching a filter) is an encrypted email, so everyytime i open the mail-client, it asks for my password 4 times, before I can change folder to where the email I was looking for could be found.

  3. Support Staff 3 Posted by Steve on 19 Mar, 2017 10:58 PM

    Steve's Avatar

    Hi Douglas,

    this issue has been fixed. If you want to test the fix, please download our latest nightly GPG Suite. That page also has sig and SHA1 to verify the download.

    Should the problem persist, please re-open this discussion and let us know. For more questions that are not related to this specific problem, you are welcome to create a new discussion any time.

    Best, steve

    Disclaimer: This is a development version which has not been thoroughly tested yet, so bugs or crashes are to be expected. Thanks for helping us test this fix.

  4. Steve closed this discussion on 19 Mar, 2017 10:58 PM.

  5. Douglas Stebila re-opened this discussion on 20 Mar, 2017 06:29 PM

  6. 4 Posted by Douglas Stebila on 20 Mar, 2017 06:29 PM

    Douglas Stebila's Avatar

    Thank you! I can confirm that the fix works for me -- no repeated passphrase entry dialog boxes after I hit Cancel.

  7. Support Staff 5 Posted by Steve on 20 Mar, 2017 07:05 PM

    Steve's Avatar

    Cool, we are still working on a remaining blocker but the next beta is not too far away. You'll then receive an update notice and can switch to the beta channel anytime.

    Glad, this is solved for you. I'm closing this discussion. Should you need further assistance or have questions you can re-open this discussion here or open a new one any time.

    Best, steve

  8. Steve closed this discussion on 20 Mar, 2017 07:05 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac