backup startegy for keyrings

David Shaw dshaw at
Tue Mar 9 14:57:21 CET 2004

On Wed, Mar 03, 2004 at 08:23:10AM -0800, Steve Butler wrote:
> But Neil, that answer begs the question of when does the pubring.gpg~ file
> get generated.  And under what circumstances.  For example, yesterday I
> imported a new public key.  The "backup" keyring file called pubring.gpg~
> was not created.
> But, I do have such a file from about a month ago when I did some edits on a
> key.
> So, not knowing the precise answer (and hoping one of the development team
> members will jump in), I have to suppose that the file is generated _before_
> edits are done to existing keys.  But, it is not generated before, during,
> or after an import operation.

This is not true.  It should be generated before an import starts.
Thus, after the import completes, the pubring.gpg~ file is your
pubring from before the import.


More information about the Gnupg-users mailing list