[Gpg4win-users-en] Can gpg4win import pfx certificate?

Bernhard Reiter bernhard at intevation.de
Wed Feb 7 11:18:13 CET 2018


Hi Xi,

Am Mittwoch 07 Februar 2018 04:44:44 schrieb Xi Shen:
> Firstly, I imported the private again using the command you gave. 

> Then I imported the associated public key.

> After that, I am able to see the key using
> gpgsm --list-keys.

good. :)

> I can also see the key from the GPA GUI. However, "gpg --list-keys" still
> gives me empty result.
>
> What is the difference between gpg and gpgsm?

https://gnupg.org/documentation/manuals/gnupg/Invoking-GPG.html
  It is a tool to provide digital encryption and signing services using the 
OpenPGP standard

https://gnupg.org/documentation/manuals/gnupg/Invoking-GPGSM.html
  gpgsm is a tool similar to gpg to provide digital encryption and signing 
services on X.509 certificates and the CMS protocol.

> In Git Bash terminal on 
> Windows, the gpg command, which comes with the Git for Windows
> installation, cannot see my key as well. So I still cannot sign my commits
> with my key.

As far as I know git does not make use of CMS keys, you would need to create 
an OpenPGP key to be able to sign with git.

Best Regards,
Bernhard


-- 
www.intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.wald.intevation.org/pipermail/gpg4win-users-en/attachments/20180207/b0f0800f/attachment.asc>


More information about the Gpg4win-users-en mailing list