Hi,
PIN 1 I tried this but ... it does not work.
I use libpam-muscle package from debian sarge. Any problems known about
this ??
following my apdu enabled pcscd output.
It would be great if you could give me a short lesson in how to read this.
Thanx.
--snip--
pcscdaemon.c:258:main() pcscd set to foreground with debug send to stderr
debuglog.c:236:DebugLogSetCategory() Debug options: APDU
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
winscard_msg_srv.c:203:SHMProcessEventsServer() Common channel packet
arrival
winscard_msg_srv.c:212:SHMProcessEventsServer()
SHMProcessCommonChannelRequest detects: 7
pcscdaemon.c:150:SVCServiceRunLoop() A new context thread creation is
requested: 7
winscard_svc.c:136:ContextThread() Thread is started: 7
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard_svc.c:178:ContextThread() Client is protocol version 2:0
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard.c:160:SCardEstablishContext() Establishing Context: 16977230
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard.c:214:SCardConnect() Attempting Connect to Towitoko Chipdrive
Reader 00 00 using protocol: 3
prothandler.c:129:PHSetProtocol() Attempting PTS to T=0
winscard.c:322:SCardConnect() Active Protocol: T=0
winscard.c:329:SCardConnect() hCard Identity: 152b2
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard.c:1460:SCardTransmit() Send Protocol: T=0
APDU: 00 A4 04 00 06 A0 00 00 00 01 01
SW: 90 00
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard.c:1460:SCardTransmit() Send Protocol: T=0
APDU: B0 42 01 00 08 30 30 30 30 30 30 30 30
SW: 90 00
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard.c:1460:SCardTransmit() Send Protocol: T=0
APDU: B0 36 00 01 05 00 03 01 00 00
SW: 9C 10
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard.c:706:SCardDisconnect() Active Contexts: 1
winscard.c:765:SCardDisconnect() Reset complete.
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard.c:171:SCardReleaseContext() Releasing Context: 16977230
winscard_msg_srv.c:262:SHMProcessEventsContext() Client has disappeared: 7
winscard_svc.c:149:ContextThread() Client die: 7
winscard_msg_srv.c:203:SHMProcessEventsServer() Common channel packet
arrival
winscard_msg_srv.c:212:SHMProcessEventsServer()
SHMProcessCommonChannelRequest detects: 7
pcscdaemon.c:150:SVCServiceRunLoop() A new context thread creation is
requested: 7
winscard_svc.c:136:ContextThread() Thread is started: 7
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard_svc.c:178:ContextThread() Client is protocol version 2:0
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard.c:160:SCardEstablishContext() Establishing Context: 17005895
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard.c:214:SCardConnect() Attempting Connect to Towitoko Chipdrive
Reader 00 00 using protocol: 3
prothandler.c:129:PHSetProtocol() Attempting PTS to T=0
winscard.c:322:SCardConnect() Active Protocol: T=0
winscard.c:329:SCardConnect() hCard Identity: 10b47
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed
client: 7
winscard.c:1460:SCardTransmit() Send Protocol: 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--
Ciao
Matthias
Karsten Ohme schrieb:
>Matthias Barmeier wrote:
>
>
>>Hi,
>>
>>after setting up lib-pam successfully I encounter the
>>following problem:
>>
>>After entering unsername and PIN I always get something
>>like a Login failed window from GDM.
>>
>>My question is: How can I monitor what is happening ??
>>
>>
>
>run pcscd -a -d -f, to trace the APDU, the output below does not help.
>
>
>
>>When I try login I always get the message "Invalid PIN".
>>
>>Which PIN do I have to use ?
>>
>>
>
>Should be PIN number 1, if this is restricted. You are using MusclePAM
>from the Debian package or from svn or from ...?
>
>
>
>>I tried all three PINs but they are all invalid.
>>
>>Any hints ?
>>
>>
>
>You can enable DEBUG in /etc/musclepam/pam-muscle.conf and then you can
>log in at the console and see the individual steps of MusclePAM.
>
>Karsten
>
>
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle