[pkg-gnupg-maint] Bug#831510: Bug#831510: gnupg2: Deletes pub keyring

Werner Koch wk at gnupg.org
Wed Aug 3 13:41:15 UTC 2016


On Sun, 31 Jul 2016 19:24, kurt at roeckx.be said:

> time does the wrong thing.  For instance it could move the file to
> the .bak file and then create a new (or tmp) file, and you would
> end up with having no file for some time.

Right.  We write a new file, rename the old to .bak, and then rename the
new file to the original name.  Signals at the wrong time would leave
you only with the .bak and the next time gpg starts it does not find a
keyring and creates a new one which now defaults to .kbx.

I just pushed a fix for this which blocks all signals during the
renames.  Not really tested, though.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
 /* Join us at OpenPGP.conf  <https://openpgp-conf.org> */



More information about the pkg-gnupg-maint mailing list