本文介绍了SIM卡认证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是SIM卡的新手,我正在尝试使用带有Gemplus USB SmartCard Reader的Gemalto JCardManager(Gemalto Developer Suite的一部分)对SIM卡进行身份验证.

I'm new to SIM Cards and I'm trying to authenticate to a SIM Card using Gemalto JCardManager (part of Gemalto Developer Suite), with Gemplus USB SmartCard Reader.

显然,我拥有所有必需的密钥(kic,kid和kik),但我无法进行身份验证.

Aparently, i have all the necessary keys (kic, kid and kik), but i can't authenticate.

实际上,我有两张SIM卡:一张SIM卡R5和一张USIM卡R5.

In fact, i have two SIM's: one SIM Card R5 and one USIM Card R5.

我已经为它们两个配置了密钥文件,但是当我尝试向SIM卡R5进行身份验证时,会出现以下消息:

I have configured the keys files for both of them, but when i try to authenticate to the SIM Card R5, the following message appears:

[ERROR  ] <-   6D 00
Command Exception on command: Authenticate. Authentication failed : INITIALIZE UPDATE : unknown response : VOP sw=6D00

当我尝试通过USIM卡R5进行身份验证时,会出现以下消息:

And when i try to authenticate to the USIM Card R5, the following message appears:

[ERROR  ] <-   6D 00
[ERROR  ] <-   Invalid instruction.

有人知道此消息的含义吗?

Does anyone know what this messages means?

推荐答案

并非所有卡都支持相互身份验证.您的极有可能不支持它.您的卡片是宝石吗?如果是,您有卡的ADM密钥吗?实际上gemalto有3种类型的卡片:

Not all cards supports mutual authentication. Most probably yours doesn't support it.Is your card gemalto one? If yes, do you have ADM keys of the card?Actually gemalto has 3 types of cards:

  1. 完全没有GP的本地卡.
  2. 中档卡,这些卡部分支持GP,但不支持相互认证.在这些卡上,验证ADM密钥就足够了.
  3. 高端卡,这些卡支持所有最新的技术.

要验证ADM密钥,您必须发送:

To verify ADM key you have to send:

00 20 00 <adm key number> 08 <adm key value>

如果您知道哪个键组拥有ADM密钥,则可以发送专有的验证密钥"命令:

If you know which keyset hold ADM key, you can send proprietary Verify key command:

F0 2A 00 <keyset number> 08 <adm key value>

这篇关于SIM卡认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 14:42