[Bug 1751] New: ssh-add -s /usr/lib/opensc-pkcs11.so does not work

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Apr 8 23:41:19 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1751

           Summary: ssh-add -s /usr/lib/opensc-pkcs11.so does not work
           Product: Portable OpenSSH
           Version: 5.4p1
          Platform: amd64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Smartcard
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: jmpoure at free.fr


Dear friends,

I am using the latest version of OpenSC and cvs version of OpenSSH.

ssh-add -s /usr/lib/opensc-pkcs11.so 
Enter passphrase for PKCS#11: (I enter PIN code)
SSH_AGENT_FAILURE
Could not add card: /usr/lib/opensc-pkcs11.so

pkcs11-tool --slot 1 -O
Public Key Object; RSA 2048 bits
  label:      Public Key
  ID:         7645d913d5***********54816ff02324c23a7ebf4
  Usage:      none
Certificate Object, type = X.509 cert
  label:      CAcert WoT User's Root CA ID
  ID:         7645d913d5***********54816ff02324c23a7ebf4
Public Key Object; RSA 2048 bits
  label:      Public Key
  ID:         6d0534d04a***********49967a2e33571deec58
  Usage:      none
Certificate Object, type = X.509 cert
  label:      StartCom Free Certificate Member's StartCom Ltd. ID
  ID:         6d0534d04a***********49967a2e33571deec58

ps aux | grep ssh-agent
jmpoure   2520  0.0  0.0  20420   600 ?        Ss   09:04
0:00 /usr/bin/ssh-agent /usr/bin/gpg-agent --daemon --sh
--write-env-file=/home/jmpoure/.gnupg/gpg-agent-info-acer
/usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent
--execute gnome-session

OpenSC is set to maximum debugging. There is no trace of communication
of ssh-add with OpenSC.

Kind regards,
François

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list