[pkg-gnupg-maint] Bug#850708: Bug#850708: gpg: decryption failed: No secret key

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Jan 9 23:00:14 UTC 2017


Control: tags 850708 + moreinfo unreproducible

Hi Vincent--

On Mon 2017-01-09 10:02:20 -0500, Vincent Lefevre wrote:
> Since the latest upgrade:
>
> * When I open a .gpg file with Emacs:
>
> * With "gpg -d note.gpg", same errors:
>
> gpg: AES encrypted data
> gpg: cancelled by user
> gpg: encrypted with 1 passphrase
> gpg: decryption failed: No secret key
>
> The errors are immediate and 100% reproducible.

is this with a symmetrically-encrypted file, or with a file that is
encrypted with a public key?

I'm unable to reproduce this problem.

what pinentry are you using?  how is your pinentry launched or managed?

what happens if you do:

    gpg-connect-agent 'get_passphrase cacheval123 errorrmsg leadprompt description' /bye

this *should* throw up a password prompt in your graphical display.

you can clear the same cached passphrase with:

    gpg-connect-agent 'clear_passphrase cacheval123' /bye


    --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20170109/e963ef72/attachment.sig>


More information about the pkg-gnupg-maint mailing list