import of external certificates via command line

Werner Koch wk at
Tue Oct 16 11:34:33 CEST 2007

On Fri, 12 Oct 2007 23:23, jan-oliver.wagner at said:

> I wonder whether there is a way to import an external certificate (found with
> gpgsm --list-external-keys  MyName
> ) via command line ... ?

Just use it within a couple of hours after --list-external-keys.  You
can list these certifciates:

  gpg --with-ephemeral --list-keys

By using them, they are made permanent.

The ephemeral flag is a kludge to allow using the list-key mechanism
(which chain building etc.) also for listing external keys.  When
running gpgsm --list-external-keys. the found certificates are stored in
gpgsm's keybox and flagged as ephemeral.  This allows us to remove them
after some time so that they don't collect up in the keybox and clutter
the output of a plain --list-keys.  An external search may return
hundreds of certificates and it is unlikey that you wall want them in
your keybox.



Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.

More information about the Gnupg-devel mailing list