[pkg-gnupg-maint] Bug#839547: gnupg: unable to decrypt file

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Oct 4 19:40:35 UTC 2016


Hi Paul--

hope it's ok that i'm responding to the public BTS as well.  i've
removed your trace below.

On Tue 2016-10-04 14:48:59 -0400, Paul Rogé wrote:

> I'm sending you another log file (I sent Daniel one earlier). The
> numbers that seem like they might be sensitive are replaced by Xs. And I
> am not posting it to the bug report system in case I missed something.
> This is an attempt to export my secret key using:
>
>     $ gpg --export-secret-keys 40E25F025E23DE01 > ~/Desktop/private.key
>     gpg: key XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX: error receiving
> key from agent: Operation cancelled - skipped
>     gpg: key XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX: error receiving
> key from agent: Operation cancelled - skipped
>     gpg: WARNING: nothing exported

how are you running this?  you said earlier this is rxvt-unicode, but
inside of what kind of graphical environment?  Can do you know how
gpg-agent was started?

Let's stick with the --decrypt use case instead of the
--export-secret-keys use case for now.

How is gpg-agent started?  What happens if you kill gpg-agent and then
try the decryption command again immediately?

    gpgconf --kill gpg-agent
    gpg --decrypt FILENAME

regards,

    --dkg



More information about the pkg-gnupg-maint mailing list