alonbl / gnupg-pkcs11-scd

PKCS#11 GnuPG SCD
http://gnupg-pkcs11.sourceforge.net/
Other
68 stars 17 forks source link

Signing broken with OpenSC 0.18.0 on macsOS X 10.13.5 with Yubikey #15

Closed manonfgoo closed 5 years ago

manonfgoo commented 6 years ago

Hi,

after Upgrading my OpenSC to 0.18.0 (on macsOS X 10.13.5 with Yubikey) gpg sining broke:

with 0.18.0 "provider-p1-library /Library/OpenSC/lib/opensc-pkcs11.so" ==> /Users/MYHOME/Library/Logs/gnupg-pkcs11-scd.log <== gnupg-pkcs11-scd[77942]: chan_0 <- [ 44 20 34 32 35 35 36 32 00 00 00 00 00 00 00 00 ...(76 byte(s) skipped) ]

==> /Users/MYHOME/Library/Logs/gpg-agent.log <== 2018-06-20 00:32:27 gpg-agent[77941] DBG: chan_9 -> END

==> /Users/MYHOME/Library/Logs/gnupg-pkcs11-scd.log <== gnupg-pkcs11-scd[77942]: chan_0 <- END gnupg-pkcs11-scd[77942]: chan_0 -> ERR 108 Card error

==> /Users/MYHOME/Library/Logs/gpg-agent.log <== 2018-06-20 00:32:27 gpg-agent[77941] DBG: chan_9 <- ERR 108 Card error 2018-06-20 00:32:27 gpg-agent[77941] smartcard signing failed: Card error 2018-06-20 00:32:27 gpg-agent[77941] command 'PKSIGN' failed: Card error 2018-06-20 00:32:27 gpg-agent[77941] DBG: chan_8 -> ERR 67108972 Card error 2018-06-20 00:32:27 gpg-agent[77941] DBG: chan_8 <- [eof] 2018-06-20 00:32:27 gpg-agent[77941] DBG: chan_9 -> RESTART

with 0.17.0 "provider-p1-library /Users/MYHOME/lib/opensc-pkcs11-old.so"

Works well,

alonbl commented 6 years ago

Need complete log

if opensc-0.17.0 working, maybe should be reported to opensc?

manonfgoo commented 6 years ago

can i sent you the complete log private, you need the gnupg-pkcs11-scd.log or the opensc log?

alonbl commented 6 years ago

I need the gnupg-pkcs11-scd log to see the root cause of failure with proper codes.

On Wed, Jun 20, 2018 at 3:44 AM manonfgoo notifications@github.com wrote:

can i sent you the complete log private, you need the gnupg-pkcs11-scd.log or the opensc log?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alonbl/gnupg-pkcs11-scd/issues/15#issuecomment-398588760, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNIrUeioAM-k0g4CPzuovq7eKAJuf7yks5t-ZrsgaJpZM4UuV9Y .

alonbl commented 6 years ago

ping