开发者

Import a .p12 cert to GPG for signing debian packages

I am currently signing some debian .deb packages with a self-signed PGP certificate, which I obtained from a collegue. Hence I have the following files in my folder `~/.gnupg/:

  • gpg.conf (Currently only comments)
  • pubring.gpg
  • random_seed
  • secring.gpg
  • trustdb.gpg

I now obtained a properly signed certificate in .pfx format (or a .p12 exported from Keychain) which I should use to sign my debian packages. I have been looking on Google for quite a bit to figure out, how to convert the certificate. What I am looking for at the moment is an easy way to convert the .pfx to the file structure above, so that I can continu开发者_高级运维e signing my debian packages with the new certificate.

Thanks very much for your help!


X.509 infrastructure and OpenPGP are two different technologies. You can't convert X.509 certificate to OpenPGP key (though you can use the the keypair from the certificate for a new OpenPGP key).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜