[Pkg-gnupg-maint] Bug#725138: gnupg: deleted pubring.gpg on control-C, then creates empty one

Kurt Roeckx kurt at roeckx.be
Tue Oct 1 22:26:29 UTC 2013


Package: gnupg
Version: 1.4.14-1
Severity: important

Hi,

I was doing a gpg --refresh and stopped it with control-C.  When I
then tried to restart it, I got:
$ gpg --refresh
gpg: keyring `/home/kurt/.gnupg/pubring.gpg' created

And now have:
-rw-------  1 kurt kurt        0 Oct  2 00:17 pubring.gpg
-rw-------  1 kurt kurt 70925522 Oct  2 00:17 pubring.gpg.tmp
-rw-------  1 kurt kurt 70918836 Oct  2 00:16 pubring.gpg~

It actually seems to have a signal handler for this, since it
shows this on control-C:
gpg: Interrupt caught ... exiting

However, it really should put back some file at this point.


Kurt



More information about the Pkg-gnupg-maint mailing list