pallotron / yubiswitch

OSX status bar application to enable/disable Yubikey Nano
Other
872 stars 65 forks source link

Not working anymore #68

Closed kterusaki closed 6 years ago

kterusaki commented 7 years ago

I've edited the preferences to reflect the right product id and vendor id as instructed. That worked, but recently it has stopped working. I'm on iOS 10.12.5

twixr commented 6 years ago

Same on 10.12.4 with GPG Suite 2017.1 (2002)

image

Since update to latest GPGsuite, Yubiswitch crashes after removing the yubikey.

default 09:26:37.847539 +0200 securityd reader Yubico Yubikey 4 OTP+U2F+CCID: state changed 32 -> 18
default 09:26:37.849337 +0200 ctkahp  Processing token com.apple.pivtoken:xxxx
default 09:26:37.850924 +0200 icdd  #ICDebug - 51:{ICWiredBrowser.m} (USB terminate)
default 09:26:37.851262 +0200 icdd  #ICDebug - 344:{ICWiredBrowser.m} (--> USB Terminate)
default 09:26:37.851645 +0200 icdd  #ICDebug - 504:{ICDDMessageCenter.m} (-Rem Yubikey 4 OTP+U2F+CCID - 0x0/0x0/0x0 - 0x14200000 - ICDeviceDescriptionUndefined)
default 09:26:37.851530 +0200 icdd  #ICDebug - 363:{ICWiredBrowser.m} (Reclaiming Resource: Yubikey 4 OTP+U2F+CCID)
default 09:26:37.852212 +0200 icdd  #ICDebug - 363:{ICWiredBrowser.m} (Reclaiming Resource: Yubikey 4 OTP+U2F+CCID)
default 09:26:37.852275 +0200 icdd  #ICDebug - 504:{ICDDMessageCenter.m} (-Rem Yubikey 4 OTP+U2F+CCID - 0x3/0x1/0x1 - 0x14200000 - ICDeviceDescriptionUndefined)
default 09:26:37.852321 +0200 icdd  #ICDebug - 363:{ICWiredBrowser.m} (Reclaiming Resource: Yubikey 4 OTP+U2F+CCID)
default 09:26:37.852393 +0200 icdd  #ICDebug - 504:{ICDDMessageCenter.m} (-Rem Yubikey 4 OTP+U2F+CCID - 0xb/0x0/0x0 - 0x14200000 - ICDeviceDescriptionUndefined)
default 09:26:37.852408 +0200 icdd  #ICDebug - 363:{ICWiredBrowser.m} (Reclaiming Resource: Yubikey 4 OTP+U2F+CCID)
default 09:26:37.851788 +0200 secd  SecDbBeginTransaction kSecDbExclusiveTransactionType 0x7fbcd4600db0
default 09:26:37.852473 +0200 icdd  #ICDebug - 371:{ICWiredBrowser.m} (0 USB Descriptions Managed)
default 09:26:37.852537 +0200 icdd  #ICDebug - 373:{ICWiredBrowser.m} (<-- USB Terminate)
default 09:26:37.852577 +0200 icdd  #ICDebug - 504:{ICDDMessageCenter.m} (-Rem Yubikey 4 OTP+U2F+CCID - 0x3/0x0/0x0 - 0x14200000 - ICDeviceDescriptionUndefined)
error 09:26:37.852895 +0200 com.apple.ctkpcscd  SmartCard slot connection failed (<private>)
default 09:26:37.853874 +0200 secd  deleted <cert,rowid=1967,cdat=2017-10-02 07:23:00 +0000,mdat=2017-10-02 07:23:00 +0000,ctyp=3,cenc=3,labl=Certificate For PIV Authentication (Yubico PIV Authentication),alis=null,[xxxxx]
default 09:26:37.854763 +0200 secd  deleted <cert,rowid=1968,cdat=2017-10-02 07:23:00 +0000,mdat=2017-10-02 07:23:00 +0000,ctyp=3,cenc=3,labl=Certificate For Key Management (Yubico PIV Encryption),alis=null,[xxxxx]
default 09:26:37.856303 +0200 secd  deleted <keys,rowid=1967,cdat=2017-10-02 07:23:00 +0000,mdat=2017-10-02 07:23:00 +0000,kcls=1,labl=Key For PIV Authentication (Yubico PIV Authentication),alis=null,[xxxxx]
default 09:26:37.857026 +0200 secd  deleted <keys,rowid=1968,cdat=2017-10-02 07:23:00 +0000,mdat=2017-10-02 07:23:00 +0000,kcls=1,labl=Key For Key Management (Yubico PIV Encryption),alis=null,[xxxxxx]
default 09:26:37.857094 +0200 secd  SecDbEndTransaction kSecDbTransactionWillCommit 0x7fbcd4600db0
default 09:26:37.857151 +0200 secd  (null): will-commit api 4 changes, txn=<SecDbConnection rw open>, 0x7fbcd4600db0
default 09:26:37.857204 +0200 secd  Not saving engine state, nothing changed.
default 09:26:37.857516 +0200 secd  SecDbEndTransaction kSecDbTransactionWillCommit 0x7fbcd4600db0 (after notify)
default 09:26:37.857565 +0200 secd  SecDbEndTransaction kSecDbTransactionDidCommit 0x7fbcd4600db0
default 09:26:37.858324 +0200 securityd reader Yubico Yubikey 4 OTP+U2F+CCID: state changed 16 -> 6
default 09:26:37.858615 +0200 securityd Token reader Yubico Yubikey 4 OTP+U2F+CCID removed from system
pallotron commented 6 years ago

I don't have spare cycles to check this any time soon. But I will take a look eventually. Please do not reopen the same ticket. open a new one.