boberito / sc_menu

Simple smartcard Menu item
MIT License
26 stars 2 forks source link

SC_Menu Crash - Additional Card Info #10

Open kmort1 opened 2 weeks ago

kmort1 commented 2 weeks ago

Updated to 1.6 just now and when trying the new Additional Card Info feature, I input my PIN, get a screen with an empty column of information and then SC_Menu closes.

boberito commented 2 weeks ago

DOH! But here's why I added a debug mode.

What kind of smart card do you have? Is it a US Government issued one or yubikey piv? Gemalto? Or something else?

  1. In terminal run defaults write com.ttinc.sc-menu debugMode -bool true
  2. Launch the app (or quit and relaunch)
  3. Select the additional card info, enter pin. let it crash.
  4. Send me this log file /Users/YOURUSERNAME/Library/Containers/com.ttinc.sc-menu/Data/Library/Logs/smartcard_apdu.log If trying to find it in the Finder it won't be com.ttinc.sc-menu it'll show as "SC Menu" in the Containers folder. You can email it to boberito@gmail.com

Run defaults write com.ttinc.sc-menu debugMode -bool false otherwise it'll just keep growing

boberito commented 2 weeks ago

Oh and also do this in terminal as well while you crash it. log stream --predicate 'subsystem == "com.ttinc.sc-menu"' --debug --info --signpost

And then copy paste all that output of the terminal window into a text file too when you send it over.