import trustdb.gpg or start from scratch?

Melvin Carvalho melvincarvalho at gmail.com
Tue Nov 13 15:40:29 CET 2012


On 12 November 2012 10:13, Werner Koch <wk at gnupg.org> wrote:

> On Sat, 10 Nov 2012 20:33, melvincarvalho at gmail.com said:
>
> > gpg --import-ownertrust trustdb.gpg
>
> That does not work.  --import-ownertrust expects the format as produced
> by --export-ownertrust.  What you can do is to put trustdb.gpg into an
> empty directy and run the export command:
>
>    cp trustdb.gpg YOURTMPDIR
>    gpg --homedir YOURTMPDIR --export-ownertrust > foo
>
> Then import foo.
>

Worked!

Thanks so much.

So I assume when backing up a key you should always back up trustdb too?


>
> Salam-Shalom,
>
>    Werner
>
>
> --
> Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20121113/44e91bfa/attachment.htm>


More information about the Gnupg-users mailing list