gp.exe -list return always Cryptogram Failed

杀马特。学长 韩版系。学妹 提交于 2021-02-11 13:00:19

问题


I have changed my defaults keys to A068CD198555AF5ACC823DFAE8A7827A.

but the command from gp -l return always Cryptogral Failed.

note: I can authenticate with script file on GPShell

I can download applet, install applet and select applet with pyResMan

I can transmit APDU with pyResMan

I can authenticate with pyResman

GPShell script

mode_211 
enable_trace 
establish_context 
card_connect 
select -AID A000000003000000 
open_sc -scp 2 -scpimpl 0x15 -security 1 -keyind 0 -keyver 1 -key A068CD198555AF5ACC823DFAE8A7827A -mac_key A068CD198555AF5ACC823DFAE8A7827A -enc_key A068CD198555AF5ACC823DFAE8A7827A -kek_key A068CD198555AF5ACC823DFAE8A7827A // Open secure channel
card_disconnect 
release_context

image

I have the same problem withh PyApduTool, i can't download, install applet and authenticate, allways return Cryptogram Failed while with pyResMan all work fine and script GPShell work fine for authenticate.

Can you help me, what is wrong ?

Thank you for your help

来源:https://stackoverflow.com/questions/63742902/gp-exe-list-return-always-cryptogram-failed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!