Re: Having trouble getting GPG to accept input from a pinpad

2011-01-11 Thread Paul Richard Ramer
On 01/03/2011 02:25 AM, Michel Messerschmidt wrote:
> Have you tried it with gnupg 2.0.x ?
> IIRC you need at least 2.0.12 for the SPR-532 pinpad and gnupg-agent
> should be running. 
> If not, please post more details about your environment and how you
> execute gnupg. The pinpad works for me, so I guess you will find a way.

Good news--it works.  Initially, I tried gpg2 (version 2.0.14), but it
didn't work.  Instead, I got an error message that scdaemon wasn't
running.  I searched for scdaemon on my system with "which scdaemon",
but I couldn't find it.

But now I can find scdaemon with "which scdaemon", and the only thing
that has changed has been that I compiled some software, installed some
packages, and, just this last evening, performed an update on my system.
 I hadn't had any success with the pinpad until some time after the
update last night.

So I don't know what happened to fix my situation (I wish I knew).  But
thank you to all of you who helped me.  You have been a big help. :-)


-Paul

--
PGP Key ID: 0x3DB6D884
PGP Fingerprint: EBA7 88B3 6D98 2D4A E045  A9F7 C7C6 6ADF 3DB6 D884

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Having trouble getting GPG to accept input from a pinpad

2011-01-03 Thread Werner Koch
On Mon,  3 Jan 2011 11:25, li...@michel-messerschmidt.de said:

> Have you tried it with gnupg 2.0.x ?
> IIRC you need at least 2.0.12 for the SPR-532 pinpad and gnupg-agent
> should be running. 

.. and do not run pcscd - only the GnuPG internal driver works with the
pinpad.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Having trouble getting GPG to accept input from a pinpad

2011-01-03 Thread Michel Messerschmidt
On Mon, Jan 03, 2011 at 01:26:05AM -0800, Paul Richard Ramer wrote:
> I'll gladly answer any questions about my setup or tools or run
> different stuff to debug this situation.  I just want to start using my
> pinpad. :-)

Have you tried it with gnupg 2.0.x ?
IIRC you need at least 2.0.12 for the SPR-532 pinpad and gnupg-agent
should be running. 
If not, please post more details about your environment and how you
execute gnupg. The pinpad works for me, so I guess you will find a way.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Having trouble getting GPG to accept input from a pinpad

2011-01-03 Thread Paul Richard Ramer
On 01/02/2011 05:32 AM, Simon Josefsson wrote:
>> I am using an OpenPGP v2 card with an SCM SPR-532 smartcard reader, and
>> I can't get GPG to take a PIN from the pinpad instead of the keyboard.
>> When I run "gpg --card-edit" followed by any command that requires a PIN
>> or Admin PIN, I get a password dialog box from pinentry, but I can only
>> enter the PIN via a keyboard.
> 
> IIRC the on-device PIN entry is only used for signing operations, not
> admin stuff -- so try proceeding anyway and then try signing.  This kind
> of harms the point of having a on-device PIN entry, but it is still
> possible to setup the card on a secure machine and then use it in other
> environments.  I'm using a SPR-532 too with GnuPG on Mac for SSH
> authentication, and I enter the PIN on the SPR-532 just fine.

Unfortunately, GPG isn't taking input from the pinpad regardless of what
operations I am performing--signing, decrypting, change card
information.  This behavior is true of both the PIN and the Admin PIN.

Everything else that I have done so far with my OpenPGP v2 card works.
So I have no issues there.  Things such as generating a key, changing
card information, decrypting and signing e-mail work without any trouble.

I'll gladly answer any questions about my setup or tools or run
different stuff to debug this situation.  I just want to start using my
pinpad. :-)


-Paul

-- 
PGP Key ID: 0x3DB6D884
PGP Fingerprint: EBA7 88B3 6D98 2D4A E045  A9F7 C7C6 6ADF 3DB6 D884

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Having trouble getting GPG to accept input from a pinpad

2011-01-02 Thread Simon Josefsson
Paul Richard Ramer  writes:

> Hi,
>
> I am using an OpenPGP v2 card with an SCM SPR-532 smartcard reader, and
> I can't get GPG to take a PIN from the pinpad instead of the keyboard.
> When I run "gpg --card-edit" followed by any command that requires a PIN
> or Admin PIN, I get a password dialog box from pinentry, but I can only
> enter the PIN via a keyboard.

IIRC the on-device PIN entry is only used for signing operations, not
admin stuff -- so try proceeding anyway and then try signing.  This kind
of harms the point of having a on-device PIN entry, but it is still
possible to setup the card on a secure machine and then use it in other
environments.  I'm using a SPR-532 too with GnuPG on Mac for SSH
authentication, and I enter the PIN on the SPR-532 just fine.

/Simon

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Having trouble getting GPG to accept input from a pinpad

2011-01-02 Thread Paul Richard Ramer
Hi,

I am using an OpenPGP v2 card with an SCM SPR-532 smartcard reader, and
I can't get GPG to take a PIN from the pinpad instead of the keyboard.
When I run "gpg --card-edit" followed by any command that requires a PIN
or Admin PIN, I get a password dialog box from pinentry, but I can only
enter the PIN via a keyboard.

I have followed the GnuPG Smartcard HOWTO, including setting up the udev
rules and creating and adding my user account to the scard group.
According to this post at
, using
the pinpad of my card reader should work (except when it doesn't ;-)).

I don't have pcsc-lite installed.  I am using GnuPG 1.4.10 (but also
have GnuPG 2.0.14 installed) and am running it on top of Ubuntu 10.04.
The versions of GnuPG that I have are what was available through my
package manager.

Thanks in advance for any help you can provide.


-Paul

-- 
PGP Key ID: 0x3DB6D884
PGP Fingerprint: EBA7 88B3 6D98 2D4A E045  A9F7 C7C6 6ADF 3DB6 D884

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users