Re: Non-interactive PIN not accepted, gpg hangs

2015-10-01 Thread Laurent Blume
Le 2015/10/01 13:07 +0200, Niibe Yutaka a écrit: > I think that Nitrokey series would be a right solution, both for > hardware-wise and their perspective. So far, looks good, so I'm hopeful :) > As Peter suggested, I feel that your use case is not directly related > to OpenPGP. It seems that you

Re: Non-interactive PIN not accepted, gpg hangs

2015-09-30 Thread Laurent Blume
Le 2015/09/30 16:10 +0200, Peter Lebbing a écrit: > Yes. I have no experience in highly available services, let alone GnuPG in > one. > I'm just an enthousiast. I don't know if an OpenPGP Card is suitable (yet?) > for > situations where it is critical it always works. Since I upgraded to 2.1 on m

Re: Non-interactive PIN not accepted, gpg hangs

2015-09-30 Thread Laurent Blume
Le 2015/09/30 14:45 +0200, Peter Lebbing a écrit: > Processes dying tend to cause breakages in general. The issue here, > though, is indeed that simply restarting the process isn't enough. > That's where a custom pinentry could help. > > In principle, it's not difficult to set up. If you want to a

Re: Non-interactive PIN not accepted, gpg hangs

2015-09-30 Thread Laurent Blume
Le 2015/09/30 13:19 +0200, Peter Lebbing a écrit: > On 30/09/15 11:20, Laurent Blume wrote: >> I really, really need it to be non-interactive. > > You can't unlock the card when the server is booted and then leave it > unlocked for the whole time the server is up? Yo

Re: Non-interactive PIN not accepted, gpg hangs

2015-09-30 Thread Laurent Blume
Le 2015/09/30 01:39 +0200, Niibe Yutaka a écrit: > As far as I know, you can't provide a PIN by command line. > > You can provide passphrase from file for symmetric encryption, though. > > Instead, you can unlock your smartcard beforehand, interactively. I really, really need it to be non-intera

Non-interactive PIN not accepted, gpg hangs

2015-09-29 Thread Laurent Blume
Hello all, I'm trying to setup automatic file decryption using a smartcard to store the private key. Interactively, it all works fine, I get the PIN request, enter it, decryption works, all good. Non-interactively, however, I can't get it to work: gpg-agent always spawns a pinentry in the backg