2014-11-24 102 views
0

我有一個JCOP卡(CJ3A080)。這是OpenSC工具的輸出list files命令:爲什麼我不能選擇MF?

C:\>opensc-tool -a -c jcop -f -v 
Using reader with a card: ACS CCID USB Reader 0 
Connecting to card in reader ACS CCID USB Reader 0... 
Using card driver JCOP cards with BlueZ PKCS#15 applet. 
Card ATR: 
3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 ;.....1.EJCOPv24 
31 B7           1. 
3f00 type: DF, size: 0 
select[NONE] lock[NEVR] delete[NEVR] create[NEVR] rehab[N/A] inval[N/A] list[NON 
E] 

    3f002f00 type: wEF, ef structure: transparent, size: 128 
    read[NONE] update[NEVR] erase[NEVR] write[NEVR] rehab[N/A] inval[N/A] 

00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 
00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 
00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 
00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 
00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 
00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 

C:\> 

問題1:什麼是這些零個字節?它是EEPROM嗎?如果是這樣,爲什麼它只有128字節(而我的卡有80KB的EEPROM)?

問題2:下面這行元素的含義是什麼?

select[NONE] lock[NEVR] delete[NEVR] create[NEVR] rehab[N/A] inval[N/A] list[NON 
E] 

問題2:我從輸出明白,必須有與3F00作爲其援助DF,對不對?那麼爲什麼我不能選擇它?

C:\>opensc-tool -s 00a40400023f00 
Using reader with a card: ACS CCID USB Reader 0 
Sending: 00 A4 04 00 02 3F 00 
Received (SW1=0x6A, SW2=0x82) 

C:\> 

注意,我認爲這是一個解除融合卡(非個性化) - >看Here

更新1:

我測試了一些其他不同的卡(即使一些存儲卡)與上述相同的命令。輸出與上面的輸出相同,只是ATR已更改!它這個輸出正確和可靠嗎?

更新2:

當我列出安裝的驅動程序,這是輸出:

C:\>opensc-tool -D 
Configured card drivers: 
    cardos   Siemens CardOS 
    flex    Schlumberger Multiflex/Cryptoflex 
    cyberflex  Schlumberger Cyberflex 
    gpk    Gemplus GPK 
    gemsafeV1  driver for the Gemplus GemSAFE V1 applet 
    miocos   MioCOS 1.1 
    mcrd    MICARDO 2.1/EstEID 1.0 - 3.0 
    asepcos   Athena ASEPCOS 
    starcos   STARCOS SPK 2.3/2.4 
    tcos    TCOS 3.0 
    openpgp   OpenPGP card 
    jcop    JCOP cards with BlueZ PKCS#15 applet 
    oberthur   Oberthur AuthentIC.v2/CosmopolIC.v4 
    authentic  Oberthur AuthentIC v3.1 
    iasecc   IAS-ECC 
    belpic   Belpic cards 
    ias    IAS 
    incrypto34  Incard Incripto34 
    acos5   ACS ACOS5 card 
    akis    TUBITAK UEKAE AKIS 
    entersafe  entersafe 
    epass2003  epass2003 
    rutoken   Rutoken driver 
    rutoken_ecp  Rutoken ECP driver 
    westcos   WESTCOS compatible cards 
    myeid   MyEID cards with PKCS#15 applet 
    sc-hsm   SmartCard-HSM 
    setcos   Setec cards 
    muscle   MuscleApplet 
    atrust-acos  A-Trust ACOS cards 
    piv    PIV-II for multiple cards 
    itacns   Italian CNS 
    javacard   JavaCard (without supported applet) 
    default   Default driver for unknown cards 

C:\> 

我的卡是JCOP卡。我可以在上面的列表中看到JCOP。但是,當我使用-n參數它用不受支持的卡的響應!

C:\>opensc-tool -n 
Using reader with a card: ACS CCID USB Reader 0 
Unsupported card 

回答

1

也許這卡不能被OpenSC

檢查SupportedHardware列表支持。通過opensc-tool --name進行驗證,看看有些司機是否知道如何處理您的卡。

該命令的預期結果是帶有卡驅動程序名稱的行。

+0

是的,你說得對。我更新了這個問題。當JCOP在安裝列表中時,我們發現它會爲我的恩智浦JCOP CJ3A080卡返回不支持的卡。爲什麼?再次因爲它是未熔合的?或者我必須安裝新的驅動程序?如果是這樣,怎麼樣? – TheGoodUser 2014-11-24 10:29:33

+1

看看這個[鏈接](https://www.opensc-project.org/opensc/wiki/JavaCard)。它會幫助你 – BzH 2014-11-24 10:38:45

0

你有這樣一行:

force_card_driver = jcop; 

在配置文件(opensc.conf)?

相關問題