Skip to content

Instantly share code, notes, and snippets.

@SohamG
Created April 28, 2019 08:38
Show Gist options
  • Save SohamG/9386762b73201583d56c88d999130c0f to your computer and use it in GitHub Desktop.
Save SohamG/9386762b73201583d56c88d999130c0f to your computer and use it in GitHub Desktop.
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] ctx.c:847:sc_context_create: ===================================
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] ctx.c:848:sc_context_create: opensc version: 0.19.0
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] reader-pcsc.c:846:pcsc_init: PC/SC options: connect_exclusive=0 disconnect_action=0 transaction_end_action=0 reconnect_action=0 enable_pinpad=1 enable_pace=1
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] reader-pcsc.c:1328:pcsc_detect_readers: called
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] reader-pcsc.c:1341:pcsc_detect_readers: Probing PC/SC readers
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] reader-pcsc.c:1392:pcsc_detect_readers: Establish PC/SC context
P:12707; T:0x140447128830400 14:02:17.418 [pkcs15-init] reader-pcsc.c:1277:pcsc_add_reader: Adding new PC/SC reader 'FT ePass2003Auto 00 00'
P:12707; T:0x140447128830400 14:02:17.418 [pkcs15-init] reader-pcsc.c:321:refresh_attributes: FT ePass2003Auto 00 00 check
P:12707; T:0x140447128830400 14:02:17.418 [pkcs15-init] reader-pcsc.c:364:refresh_attributes: current state: 0x00000022
P:12707; T:0x140447128830400 14:02:17.419 [pkcs15-init] reader-pcsc.c:365:refresh_attributes: previous state: 0x00000000
P:12707; T:0x140447128830400 14:02:17.419 [pkcs15-init] reader-pcsc.c:420:refresh_attributes: card present, changed
P:12707; T:0x140447128830400 14:02:17.419 [pkcs15-init] reader-pcsc.c:1481:pcsc_detect_readers: FT ePass2003Auto 00 00:SCardConnect(SHARED): 0x00000000
P:12707; T:0x140447128830400 14:02:17.419 [pkcs15-init] reader-pcsc.c:1095:detect_reader_features: called
P:12707; T:0x140447128830400 14:02:17.420 [pkcs15-init] reader-pcsc.c:1097:detect_reader_features: Requesting reader features ...
P:12707; T:0x140447128830400 14:02:17.420 [pkcs15-init] reader-pcsc.c:1118:detect_reader_features: Reader feature 12 found
P:12707; T:0x140447128830400 14:02:17.420 [pkcs15-init] reader-pcsc.c:1035:part10_detect_max_data: get dwMaxAPDUDataSize property returned 65536
P:12707; T:0x140447128830400 14:02:17.421 [pkcs15-init] reader-pcsc.c:1228:detect_reader_features: Reader supports transceiving 65536 bytes of data
P:12707; T:0x140447128830400 14:02:17.421 [pkcs15-init] reader-pcsc.c:1074:part10_get_vendor_product: id_vendor=096e id_product=080a
P:12707; T:0x140447128830400 14:02:17.421 [pkcs15-init] reader-pcsc.c:1496:pcsc_detect_readers: returning with: 0 (Success)
Using reader with a card: FT ePass2003Auto 00 00
Connecting to card in reader FT ePass2003Auto 00 00...
P:12707; T:0x140447128830400 14:02:17.422 [pkcs15-init] card.c:253:sc_connect_card: called
P:12707; T:0x140447128830400 14:02:17.423 [pkcs15-init] card-entersafe.c:138:entersafe_match_card: called
Using card driver epass2003.
About to create PKCS #15 meta structure.
New User PIN.
Please enter User PIN:
Please type again to verify:
Unblock Code for New User PIN (Optional - press return for no PIN).
Please enter User unblocking PIN (PUK):
P:12707; T:0x140447128830400 14:02:31.584 [pkcs15-init] pkcs15-epass2003.c:195:epass2003_pkcs15_pin_reference: called
P:12707; T:0x140447128830400 14:02:31.584 [pkcs15-init] pkcs15-epass2003.c:204:epass2003_pkcs15_pin_reference: returning with: 0 (Success)
P:12707; T:0x140447128830400 14:02:31.585 [pkcs15-init] pkcs15-epass2003.c:52:epass2003_pkcs15_init_card: called
P:12707; T:0x140447128830400 14:02:31.585 [pkcs15-init] ePass2003 doesn't support SO-PIN and SO-PUK. You can unblock key with PUK.
Failed to create PKCS #15 meta structure: Not allowed
P:12707; T:0x140447128830400 14:02:31.669 [pkcs15-init] ctx.c:922:sc_release_context: called
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment