gpgsm: How do I import an unprotected key

Werner Koch wk at gnupg.org
Thu Nov 12 10:58:10 CET 2026


On Tue, 10 Nov 2026 21:35, Ingo Klöcker said:

> $ echo | gpgsm --import --batch --pinentry-mode loopback --passphrase-fd 0 
> cert.p12

I just noticed hat we do nothave a passpharse option.  I jus implemented
that and thus soon you will be abale to do:

  gpgsm --import --batch --passphrase --  cert.p12

The arg to passphrase will be optional and, like gpg, defaults to the
empty string.
4
-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20261112/8cfe8bf2/attachment.sig>


More information about the Gnupg-users mailing list