What is the purpose of all files in ~/.gnupg ?

Peter Valdemar Mørch swp5jhu02 at sneakemail.com
Mon Feb 23 13:57:39 CET 2004


Safer: Don't copy any files of those files at all. Use --export and 
--export-secret-keys / --import instead. That will also help in future 
when you want to keep your multiple installations in sync, because 
--export and --import merge and don't overwrite.

Easy: Use tar to tar+copy+untar create a copy of the entire ~/.gnupg 
directory. That will work if you're using the same gnupg version on both 
machines and don't mind overwriting any collected keys in the 
destination directory. If you use cp instead of tar, make sure you get 
the permissions right.

Recommend safer mode.

Peter

Nikolas Garofil garo-at-linux.be |Lists| wrote:

> What is the meaning of the following files:
> gpg.conf     : Configuration of the gpg-program (I think)
> pubring.gpg  : Stores all public passwords (I think)
> pubring.gpg~ : ?
> random_seed  : Used to create good random passwords (just a guess)
> secring.gpg  : Stores all secret passwords (I think)
> trustdb.gpg  : ?
> 
> If i would delete gnupg and install it on a other pc then which files do i 
> have to backup ? (i guess i only need secring.gpg)
> 
> Nikolas Garofil

_______________________________________________
Gnupg-users mailing list
Gnupg-users at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


-- 
Peter Valdemar Mørch
http://www.morch.com



More information about the Gnupg-users mailing list