Search found 135 matches: re:
Searched query: re
- Sat Oct 09, 2021 5:53 am
- Forum: Algorithm School
- Topic: AES-CMAC calculation
- Replies: 2
- Views: 64212
Re: AES-CMAC calculation
Signature.ALG_AES_MAC_128_NOPAD is NOT AES-CMAC. Signature.ALG_AES_MAC_128_NOPAD is available since JavaCard version 2.2.0. This can be glimpsed from the Oracle JavaCard PP documentation on page 146. What you are looking for is Signature. ALG_AES_CMAC_128 which is available since JavaCard version 3....
- Fri Oct 08, 2021 11:21 pm
- Forum: Applets Development Guide
- Topic: SCP02 Shared Secret Key Provisioning
- Replies: 2
- Views: 10973
Re: SCP02 Shared Secret Key Provisioning
It depends on the GP toolkit you are going to use to manage the applets and cards. Each toolkit have their own approaches. You can use open source or freeware GP toolkits (i.e. GlobalPlatformPro, GPShell, pyAPDUToolkit) where you have to manually set the keys and decide how you want to derive them. ...
- Sat Sep 18, 2021 11:19 pm
- Forum: Questions & Answers
- Topic: Card always returns invalid INS
- Replies: 3
- Views: 8597
Re: Card always returns invalid INS
Where do you get the card from ?
What is the brand and model of the card ?
Also, can you post the GP commands you issued with GlobalPlatformPro ?
Can you issue to get a printout of the information from GlobalPlatformPro ?
What is the brand and model of the card ?
Also, can you post the GP commands you issued with GlobalPlatformPro ?
Can you issue
Code: Select all
java -jar gp.jar -i
- Thu Jul 22, 2021 7:13 pm
- Forum: Card Products
- Topic: IC Fabricator
- Replies: 6
- Views: 29369
Re: IC Fabricator
I am aware this is an old thread and here is something interesting. KOMSCO Common Criteria ST document states that they are using Infineon with IC Fabricator marking of 0x8100 (Infineon). It is found in page 13, section 8, Evaluated Configuration. Here's a quotation from the ST document: The TOE is ...
- Sat Jan 09, 2021 10:43 pm
- Forum: Questions & Answers
- Topic: CAP Verifier Error in JCIDE 6.1.0.8
- Replies: 2
- Views: 13609
Re: CAP Verifier Error in JCIDE 6.1.0.8
Found the answer.
JavaCard does not support following syntax:
You will still have to use the for loop:
JavaCard does not support following syntax:
Code: Select all
byte[] SYMBOLS = { ... };
for (byte b : SYMBOLS) { // <--- Not supported
Code: Select all
for(short i = 0; i < (short) SYMBOLS.length; i++) :
- Thu Dec 31, 2020 1:46 am
- Forum: Questions & Answers
- Topic: Setting DAP RSA key and setting up and executing DAP verification
- Replies: 3
- Views: 13008
Re: Setting DAP RSA key and setting up and executing DAP verification
Thanks. Is there a user guide for Snooper to execute the DAP key setting and verification ?
- Sat Mar 07, 2020 4:28 am
- Forum: Algorithm School
- Topic: Signing with custom hash
- Replies: 1
- Views: 30583
Re: Signing with custom hash
Hi Thumb, The smart card industry world moves on a very very slow pace. We only recently see the practical implementation of JC 3.0.4 on smart cards and most of the smart cards and SIM cards are still being equipped with just JC 2.2.2 or 3.0.1/2. It will take a very long time before the industry mov...
- Sun Mar 01, 2020 11:34 am
- Forum: Applets Development Guide
- Topic: How to create an array of AESKey objects?
- Replies: 1
- Views: 29629
Re: How to create an array of AESKey objects?
Firstly declare the array of short totalKeyObjects = (short) 24; AESKey[] keys = new AESKey[totalKeyObjects]; Then afterwards loop through as needed and use the KeyBuilder to build the keys when you need to use them otherwise the keys are not initialized properly and are useless until initialized an...
- Wed Jan 08, 2020 12:21 am
- Forum: Card Products
- Topic: Feitian's K9 FIDO token
- Replies: 6
- Views: 30453
Re: Feitian's K9 FIDO token
There is no known method of accessing the U2F capacitive touch button on the K9 because the access method to the touch button is proprietary to Feitian. You only have Java card smart card CCID access. Entire FIDO function is proprietary only to Feitian including the HID and touch button access which...
- Tue Dec 17, 2019 7:43 am
- Forum: Questions & Answers
- Topic: simulator not Support china Shangmi
- Replies: 12
- Views: 30711
Re: simulator not Support china Shangmi
SM2_PUB_KEY = (SM2PublicKey)KeyBuilder.buildKey(SMConstant.KEY_TYPE_SM2_PUBLIC, (short)512, false); The length field for key builder for the SM2 Public Key is incorrect. The length should be: SMConstant.KEY_LENGTH_SM2 Correct code should be: SM2_PUB_KEY = (SM2PublicKey)KeyBuilder.buildKey(SMConstan...