Re: Pinentry UI bug

2016-07-05 Thread Daniel Kahn Gillmor
Hi Titus-- On Tue 2016-07-05 17:57:48 -0400, Titus von der Malsburg wrote: > I encrypted a file using symmetric encryption (gpg2 -c file.txt). Then > I tried to decrypt it (in Emacs) which opened a pinentry window. I > accidentally clicked on the check mark labeled “save in password > manager” a

Re: How to invoke gpg command in C-program

2016-07-05 Thread Robert J. Hansen
> Now I want to invoke these 2 commands in C-program in order that the > process can be excuted automatically, but I do not know how to implement. GPGME. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnup

Pinentry UI bug

2016-07-05 Thread Titus von der Malsburg
I encrypted a file using symmetric encryption (gpg2 -c file.txt). Then I tried to decrypt it (in Emacs) which opened a pinentry window. I accidentally clicked on the check mark labeled “save in password manager” and clicked “Ok” without having entered the password. Opening the file obviously f

Re: gpg-agent and ~/.ssh/config IdentityFile

2016-07-05 Thread Daniel Kahn Gillmor
You're right, this really is a better question for OpenSSH users. On Mon 2016-07-04 09:15:07 -0400, Muri Nicanor wrote: > at the beginning of my ~/.ssh/config. when authenticating to a host i > only want to use the one identity/key i've created for that host instead > of sending all of them to the

Re: Migrating key to smartcard

2016-07-05 Thread Karol Babioch
Hi, Am 05.07.2016 um 20:07 schrieb Damien Goutte-Gattat: > In your case, the simplest way would be to migrate your master key into > the signing slot and the encryption subkey into the encryption slot. Ok, although I quite don't like the idea and prefer option #2. > I would indeed recommend to g

Re: Migrating key to smartcard

2016-07-05 Thread Damien Goutte-Gattat
On 07/05/2016 05:55 PM, Karol Babioch wrote: The smartcard expects three different keys, though: One for signing, encrypting and authenticating. What is the recommended way to migrate to the smartcard? In your case, the simplest way would be to migrate your master key into the signing slot and

Migrating key to smartcard

2016-07-05 Thread Karol Babioch
Hi, I've recently bought an OpenPGP smartcard and am now looking into ways to migrate my existing key onto this smartcard. I've created my key a couple of years back and have gathered some signatures, so I don't want to start over. Right now I have a master key with the "SC" key usage flags and a

How to invoke gpg command in C-program

2016-07-05 Thread yuriping
Hi ALL:    I'm using gpg 1.4.10 to perform sign-verify processing.    In general, two gpg commands will be used as following:    0. gpg --detach-sign file    1. gpg --verify file.sig file    I notice that in the executing process of command 0, a passphrase will be required to be typed manually