Re: How to encrypt using public certificate\key

2017-09-06 Thread shaarang tyagi
Hello Peter, I am talking about OpenPGP, i want to encrypt a file that follows openpgp standard so but when i tried with the windows version of Gnupg , i was getting an error "configuration not correct" (the error was more or less similar) . I was encrypting by selecting a certificate which i had

Re: How to encrypt using public certificate\key

2017-09-06 Thread shaarang tyagi
Hello Peter, Thanks a lot to you for clarifying this in a paragraph otherwise i would have to read a whole lot of things to understand that i am trying to connect 2 totally differet things! I will go through the pdf and may have more question(s). Thanks again! Shaarang On Sep 6, 2017 8:05 PM, "P

Re: Configuring dirmngr

2017-09-06 Thread Mario Figueiredo
On Wed, 06 Sep 2017 13:59:43 -0400 Daniel Kahn Gillmor wrote: > after making that configuration file, have you explicitly restarted > dirmngr? the simplest way is: > > gpgconf --kill dirmngr > Thank you, Daniel. There was a problem with how I was restarting dirmngr on my script. You post

Re: How to encrypt using public certificate\key

2017-09-06 Thread Mario Castelán Castro
On 05/09/17 23: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, please note that I > will not have the private key at this point and encryption needs to be done > only using public key. > >

Re: Configuring dirmngr

2017-09-06 Thread Daniel Kahn Gillmor
On Tue 2017-09-05 21:58:44 +0100, Mario Figueiredo wrote: > I'm having trouble configuring dirmngr to use a default keyserver. > > The current configuration file at .gnupg/dirmngr.conf contains this > single line: > > keyserver hkp://pgp.mit.edu > > However trying to use --recv-keys always fail

Re: How to encrypt using public certificate\key

2017-09-06 Thread Peter Lebbing
Hello Shaarang, On 06/09/17 16:13, shaarang tyagi wrote: > I am talking about OpenPGP, i want to encrypt a file that follows > openpgp standard [...] > I was encrypting by selecting a certificate which i had imported , i had > also imported its root ca, so certificate chain was fully there but >

Unsubscriing (was: How to encrypt using public certificate\key)

2017-09-06 Thread Peter Lebbing
On 06/09/17 14:56, BRUCE KAPITO via Gnupg-users wrote: > Can you please cease and desist sending me emails. I did not sign up > for this *Someone* managed to subscribe your e-mail address, which is usually not possible without being able to read mail addressed to your e-mail address (and thus sho

Re: How to encrypt using public certificate\key

2017-09-06 Thread BRUCE KAPITO via Gnupg-users
Can you please cease and desist sending me emails.  I did not sign up for this On Wednesday, September 6, 2017, 8:33:40 AM EDT, shaarang tyagi wrote: Hello, 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, p

Re: How to encrypt using public certificate\key

2017-09-06 Thread Peter Lebbing
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/MI

How to encrypt using public certificate\key

2017-09-06 Thread shaarang tyagi
Hello, 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, please note that I will not have the private key at this point and encryption needs to be done only using public key. Let me know if this is possible or not. Bes

Poldi example usage of gpg-connect-agent fails

2017-09-06 Thread Franck Routier (perso)
Hi, I am trying to get into smartcard usage, and would want to allow Authentication on my system with an OpenPGP Card (FSFE Fellowship smartcard). As I understand it (I might be wrong), the right pam module is Poldi. According to the Texinfo page (info poldi), current version is 0.4, and la