Search found 161 matches
- Tue Nov 15, 2016 6:00 am
- Forum: Card Products
- Topic: JC30M48CR
- Replies: 12
- Views: 24927
JC30M48CR
Some details that is good to have on the website: - Type of chip (e.g. Infineon, NXP ...) - Common Criteria and FIPS 140-2 certification for chip and Card OS - RSA-SHA_256-PKCS1 algorithm availability - AES_CBC_PKCS5 algorithm availability - APDU buffer size (261 bytes ?) If anyone wants to know mor...
- Mon Nov 14, 2016 11:00 pm
- Forum: Questions & Answers
- Topic: Who sent 9000?
- Replies: 1
- Views: 4624
Re: Who sent 9000?
By default, it automatically replies 0x9000 unless it hits an error or you tell the code to send some data or status words you designate.
- Thu Nov 10, 2016 11:14 am
- Forum: Questions & Answers
- Topic: RSA with OAEP padding
- Replies: 1
- Views: 5298
Re: RSA with OAEP padding
I think you might need to hand-code RSA-OAEP-SHA512 by using RSA_NOPAD as your basis and if your card has SHA-512 algorithm, it will be much much easier.
- Sat Nov 05, 2016 9:19 am
- Forum: Algorithm School
- Topic: Best way to store key
- Replies: 2
- Views: 7584
Re: Best way to store key
A more permanent solution that solves all the problem is to have the card own it's own RSA keypair. The card's RSA keypair would be generated via the genKeyPair() method for the RSA 2048 bit key when the applet is installed via it's register() method. Then you extract the public key and use the publ...
- Sat Nov 05, 2016 2:11 am
- Forum: Questions & Answers
- Topic: Java Card to make Bitcoin Transaction
- Replies: 1
- Views: 5401
Re: Java Card to make Bitcoin Transaction
Have a look at Ledger's implementation and if possible, you can try to create your own either via forking or from scratch or modification.
Link: https://github.com/LedgerHQ/ledger-javacard
Link: https://github.com/LedgerHQ/ledger-javacard
- Wed Nov 02, 2016 11:10 pm
- Forum: Questions & Answers
- Topic: How to put a PKCS#11-cert on javacard
- Replies: 2
- Views: 7142
Re: How to put a PKCS#11-cert on javacard
You need to find out and post more details of the card otherwise there is no information to work on.
The card's OS, PKI applet, card supplier ..etc..
You could ask the card supplier on how to load the PKCS11 certificate or use OpenSC's PKCS11 tool via it's pkcs11-tool executable.
The card's OS, PKI applet, card supplier ..etc..
You could ask the card supplier on how to load the PKCS11 certificate or use OpenSC's PKCS11 tool via it's pkcs11-tool executable.
- Wed Nov 02, 2016 5:36 am
- Forum: Card Products
- Topic: The pain of using A22CR's RSA function
- Replies: 7
- Views: 12294
Re: The pain of using A22CR's RSA function
I am not sure what you meant. Do you mean that my ALG_RSA_SHA_256 works on your A22CR without giving problems ? Did you export the public key from the card to the desktop JCE for verification ? What is your version of A22CR ? Here is my card info: +--------------------------------------+------------...
- Tue Nov 01, 2016 5:27 am
- Forum: Questions & Answers
- Topic: Problematic JCSystem.beginTransaction when used with generating RSA keys
- Replies: 3
- Views: 6356
Re: Problematic JCSystem.beginTransaction when used with generating RSA keys
Oh my ... I forget all about the transaction buffer size. That explains it.
That means, use the genKeyPair() or setKey() unless wanting to incur into the transaction buffer via begin/commit transaction.
That means, use the genKeyPair() or setKey() unless wanting to incur into the transaction buffer via begin/commit transaction.
- Tue Nov 01, 2016 5:08 am
- Forum: Questions & Answers
- Topic: Problematic JCSystem.beginTransaction when used with generating RSA keys
- Replies: 3
- Views: 6356
Problematic JCSystem.beginTransaction when used with generating RSA keys
Anyone have tried to generate RSA2048 bit keys while encapsulating the RSA keygen within the begin and commit transaction statements and returns a out of memory status word or something along that line when used on an NXP JCOP 2.4.2 card ? JCSystem.beginTransaction(); keyPair = new KeyPair(KeyPair.A...
- Tue Nov 01, 2016 5:02 am
- Forum: Card Products
- Topic: The pain of using A22CR's RSA function
- Replies: 7
- Views: 12294
The pain of using A22CR's RSA function
We know that Feitian's A22CR only recently added ALG_RSA_SHA256_PKCS1 function but if you want to be compatible with all card varieties or with older A22CR that do not come with ALG_RSA_SHA256_PKCS1, you have to code your own function. So I have decided to hand code my own ALG_RSA_SHA256_PKCS1 funct...