These two commands have fixed gpg 2.1.8 for me, on sid.

Prior to the fix, I had:
gpg: decryption failed: No secret key

On Sun, 16 Aug 2015 10:16:03 -0700 Russ Allbery <[email protected]> wrote:
> Daniel Kahn Gillmor <[email protected]> writes:
>.... 
> 
> Aha.  Okay, I seem to have fixed it, although I still don't really
> understand what happened.  On a hunch, I ran:
> 
> $ gpg2 --import ~/.gnupg/pubring.gpg
> 
> That spat out a bunch of output (tons and tons of those legacy key
> messages), and then I ran:
> 
> $ gpg2 --import ~/.gnupg/secring.gpg
>... 
> -- 
> Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>
> 
> 

Reply via email to