get_pin for scard-opensc.c

Kevin Stefanik kstef at
Fri May 9 06:31:23 EST 2003

I'm attaching a patch to allow ssh client to get a pin from the command line 
when using a smartcard.  Most of it is from a patch by Danny De Cock 
<godot () ulyssis ! org>, but I've used the ssh read_passphrase function 
instead.  Any errors are mine, I'm sure.

This enables ssh -I 0 to use a pin-protected smartcard via opensc.

Kevin Stefanik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssh-3.5p1-opensc-get_pin.patch.bz2
Type: application/x-bzip2
Size: 655 bytes
Desc: not available
Url : 

More information about the openssh-unix-dev mailing list