How to flash gpg keys?

Oleg Pekar's Avatar

Oleg Pekar

09 Feb, 2019 09:28 PM

  1. try decrypting the gpg file and enter a wrong key when prompted
  2. see:
    gpg: AES encrypted data
    gpg: encrypted with 1 passphrase
    gpg: decryption failed: Bad session key
  3. no way to recover from this situation and enter a valid key - gpg doesn't ask anymore

Thanks
Oleg

  1. Support Staff 1 Posted by Steve on 11 Feb, 2019 05:36 PM

    Steve's Avatar

    Hi Oleg,

    could you try this:

    Execude the following commands one in Terminal.app (easy to find via Spotlight)

    killall gpg-agent
    

    Then open System Preferences > GPG Suite > Settings and use the Delete button to clear any stored openPGP passwords from cache and or macOS keychain.

    Then retry and see if you are asked for the password.

    Best,
    Steve

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? 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