Matthias Barmeier wrote: > Hi, > > ok, something has changed ... see my APDU dump. > When I understand your little tutorial right ervything should work now. > If 90 00 means the world is alright I think the nonce is signed and this > larger > hex blocks are the nonce and the signed one ... right ?
Yes. Correct. > > I have some strange messages in auth.log I will investigate when you > could tell me that > everything with the card is alright now ?? Yes. Seems like. Can you log in? > > Do you knoe where can I send a mail to, to trigger the fixing of the > README or is this a bug in libpam ?? Is an incorrect documentation. There should be an author mentioned in the README or in the source files. Well, I will release another version with improved documention, Root Cert support and more flexibility soon. I quote: /******************************************************************** * * * pam_smartcard.c * * * ******************************************************************** * * * Authors: * * Mario Strasser <[EMAIL PROTECTED]> * * David Corcoran <[EMAIL PROTECTED]> * * Eirik A. Herskedal <[EMAIL PROTECTED]> * * Bruce Barnett <[EMAIL PROTECTED]> * * ******************************************************************** * * * The authentication module. * * * ********************************************************************/ Karsten > > Ciao > Matthias > > --snip-- > pcscdaemon.c:258:main() pcscd set to foreground with debug send to stderr > readerfactory.c:1096:RFInitializeReader() Attempting startup of Towitoko > Chipdrive Reader 00 00. > readerfactory.c:938:RFBindFunctions() Loading IFD Handler 2.0 > pcscdaemon.c:463:main() pcsc-lite 1.2.9-beta8 daemon ready. > Card ATR: 3B 75 94 00 00 62 02 02 03 01 > prothandler.c:129:PHSetProtocol() Attempting PTS to T=0 > APDU: 00 A4 04 00 06 A0 00 00 00 01 01 > SW: 90 00 > APDU: B0 42 01 00 08 30 30 30 30 30 30 30 30 > SW: 90 00 > APDU: B0 36 00 01 05 00 03 01 00 00 > SW: 90 00 > APDU: B0 36 00 03 83 01 00 80 75 CC F5 BE FF A4 86 6B 19 1B 1E 45 46 9A > 6E BD F4 B3 21 41 DD BF 77 04 3B 04 5E 49 76 A6 3B 80 EB D6 50 D3 37 0C > 2B A4 6A B3 EC 61 06 4F DB EA 37 75 44 B9 FE AD 78 B6 E6 E6 E4 00 15 2C > 83 B3 C1 FF 79 A8 DD E0 7A 73 DA 8E CF 25 C8 E0 4B 2F 96 E8 81 E8 43 0D > CF A1 90 74 45 51 D9 9F 73 D9 15 A9 BE 45 FF C5 9B CF 25 8B 87 5D 5F 28 > 9A E3 1D C4 83 72 A5 69 A1 F3 BB 59 B1 84 8F FB D5 75 > SW: 61 82 > APDU: 00 C0 00 00 82 > SW: 00 80 9A DF 82 F1 8A 5F AF 71 E8 52 A1 B0 6B 1D CD 4C 44 72 64 90 19 > 6F 4A A8 E1 3C 59 A5 8C 78 A6 4B C8 89 BF 8E 87 B7 A8 AE 23 98 33 07 31 > F6 EE 72 4D > C7 A6 2B 95 6C E3 96 93 F0 39 89 5F 3C 81 CF CE 17 38 AA 66 12 8A 52 D4 > 4F BC 99 A0 1E 72 D3 80 66 C3 01 E1 8B 77 56 1D 9F 2E 21 68 84 77 BD 9A > 21 76 C7 98 1A 35 53 11 EF BC A5 26 78 2A 11 94 A3 AE FB 98 D7 40 23 5C > 56 9E 0A 7A C3 19 74 90 00 > prothandler.c:129:PHSetProtocol() Attempting PTS to T=0 > APDU: 00 A4 04 00 06 A0 00 00 00 01 01 > SW: 90 00 > pcscdaemon.c:528:signal_trap() Preparing for suicide > hotplug_libusb.c:358:HPEstablishUSBNotifications() Hotplug stopped > readerfactory.c:1351:RFCleanupReaders() entering cleaning function > readerfactory.c:1360:RFCleanupReaders() Stopping reader: Towitoko > Chipdrive Reader 00 00 > eventhandler.c:120:EHDestroyEventHandler() Stomping thread. > eventhandler.c:149:EHDestroyEventHandler() Thread stomped. > readerfactory.c:1143:RFUnInitializeReader() Attempting shutdown of > Towitoko Chipdrive Reader 00 00. > readerfactory.c:1013:RFUnloadReader() Unloading reader driver. > pcscdaemon.c:488:at_exit() cleaning /var/run > > --snip-- > > Karsten Ohme schrieb: > > >>Matthias Barmeier wrote: >> >> >> >>>Hi, >>> >>>thanx a lot for your informative mini tutorial :) >>> >>>I see more clearer now, but ... my problem persists. >>> >>> >> >>Try this: >> >>Format the card new and use key number 0 and 1 instead of 1 and 2. >> >>Karsten >> >> >> >> >>>Here is my muscleTool output: >>> >>>--snip-- >>>[EMAIL PROTECTED]:~$ muscleTool >>> >>>MuscleCard Shell - type help for help >>> >>>muscle > tokens >>> 1. MuscleCard Applet >>> >>>muscle > connect 1 >>>muscle [MuscleCard Applet] > listkeys >>> Key Type Key Num SIZE READ WRITE USE >>> ----------------- ----------- ----- ------ ------ ------ >>> RSA PRIVATE CRT 1 1024 NEVER PIN #1 PIN #1 >>> RSA PUBLIC 2 1024 ALWAYS PIN #1 PIN #1 >>>muscle [MuscleCard Applet] > >>> >>>--snip-- >>> >>>everything looks ok for me. >>> >>>Should I reformat the card and start the process from the beginning or >>>are there any checks I could do prove if this is a libpam issue or >>>a something happened to my card ?? >>> >>>Ciao >>> Matthias >>> >>> >>> >>> >>>Karsten Ohme schrieb: >>> >>> >>> >>> > > > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
