RE: Provide user PIN to gpg-agent?

2015-12-02 Thread Harbord Jonathan-EURITEC
Niibe-san Thank you so much for your help! It worked. I was using gpg4win, which of course does not include v2.1. I need to download the windows version from gnupg.org. I had some difficulty with the syntax of a windows batch file but eventually succeeded with gpg-connect-agent.exe

Re: scdaemon lockup with Yubikey NEO

2015-12-02 Thread the2nd
On 2015-12-02 14:26, NIIBE Yutaka wrote: On 2015-12-02 at 12:36 +0100, the...@otpme.org wrote: here is the output for a failed session and a working one (with openssh 6.7p1). Both times i started two ssh sessions, keeping the first one open. Thank you very much. No problem. I'm glad to

question about gpg2 and passphrase

2015-12-02 Thread Smith, Cathy
I need to be able to decrypt a file using gpg2 in batch. I have a customer who requires us to provide a public key that is RSA 2048 bit. I have RHEL6 available which provides gpg 2.0.14 to create the key pair. However, I’ve not been able to use gpg2 in batch to provide the passphrase to

Cannot revoke a certificate

2015-12-02 Thread David
I am trying to revoke a very old certificate that may be compromised. I generated a revocation certificate using the following gpg command with no errors. I did get a warning about MD5 being deprecated. C:\Users\David> gpg --output kill7827.asc --gen-revoke 80942C8D However, I cannot use it.

Re: scdaemon lockup with Yubikey NEO

2015-12-02 Thread NIIBE Yutaka
On 12/02/2015 11:35 PM, the...@otpme.org wrote: > No problem. I'm glad to help out and probably get a fix for this annoying > issue. :) Thanks for your patience. >> Anyway, when Scdaemon detects card/token removal, it could finish >> existing connection(s). I'll consider fixing this. > >

Re: question about gpg2 and passphrase

2015-12-02 Thread gnupg
Andrey Utkin wrote: > On 02.12.2015 22:12, Smith, Cathy wrote: > > I need to be able to decrypt a file using gpg2 in batch. I have a > > customer who requires us to provide a public key that is RSA 2048 bit. > > I have RHEL6 available which provides gpg 2.0.14 to create the key > > pair.

Re: Why gpg 2.1.9 cannot export secret key without passphrase?

2015-12-02 Thread Andrey Utkin
Thank you for your hints Peter. The following tiny changes allow exporting and importing to succeed https://github.com/andrey-utkin/gnupg/commit/a3b539b6ef7c922b1f1f3f343fdc942086d96c4e Is the approach of using "s2kmode = 0" and "protection sha1" together correct? Shouldn't "protection none" be

Re: scdaemon lockup with Yubikey NEO

2015-12-02 Thread Lance R. Vick
I came up with the following udev rule which, while heavy handed, solves these issues for me: https://gist.github.com/lrvick/d1a5a8e6cf0eefda69d7 On Wed, Dec 2, 2015 at 6:54 PM, NIIBE Yutaka wrote: > On 12/02/2015 11:35 PM, the...@otpme.org wrote: > > No problem. I'm glad to

Re: question about gpg2 and passphrase

2015-12-02 Thread Andrey Utkin
On 02.12.2015 22:12, Smith, Cathy wrote: > I need to be able to decrypt a file using gpg2 in batch. I have a > customer who requires us to provide a public key that is RSA 2048 bit. > I have RHEL6 available which provides gpg 2.0.14 to create the key > pair. However, I’ve not been able to

gpg-preset-passphrase: problem setting the gpg-agent options [caused by empty $DISPLAY]

2015-12-02 Thread gnupg
Hi, ubuntu-14.04.3 LTS gnupg-1.4.16-1ubuntu2.3 gnupg2-2.0.22-3ubuntu1.3 gnupg-agent-2.0.22-3ubuntu1.3 I've just started using gpg-agent and gpg-preset-passphrase to store a passphrase briefly. Yesterday, this was working fine on two hosts. Today, it stopped working on one of them. The

Re: scdaemon lockup with Yubikey NEO

2015-12-02 Thread the2nd
Hi, here is the output for a failed session and a working one (with openssh 6.7p1). Both times i started two ssh sessions, keeping the first one open. Failed gpg-agent.log - http://paste.ubuntu.com/13620856/ scd.log - http://paste.ubuntu.com/13620863/ OK gpg-agent.log -

Re: scdaemon lockup with Yubikey NEO

2015-12-02 Thread NIIBE Yutaka
On 2015-12-02 at 12:36 +0100, the...@otpme.org wrote: > here is the output for a failed session and a working one (with > openssh > 6.7p1). > Both times i started two ssh sessions, keeping the first one open. Thank you very much. > Failed > gpg-agent.log - http://paste.ubuntu.com/13620856/