On 06/09/17 06:37, shaarang tyagi wrote: > I have a situation where I need to use GnuPG from command line and > encrypt a file using a public certificate or PEM public key
First of all, are we talking about OpenPGP, S/MIME, or both? I notice you say PEM public key, which implies the X.509 and S/MIME ecosystem, but GnuPG is more commonly used for the OpenPGP ecosystem. The "gpgsm" binary of GnuPG does do S/MIME, though. Peter. -- I use the GNU Privacy Guard (GnuPG) in combination with Enigmail. You can send me encrypted mail if you want some privacy. My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users