Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

The usage of OpenKeyChain combined with OpenPGPApplet in A40CR card

This project implement the OpenPGP card functionality

Moderator: Ellisun

User avatar
JavaCardOS
Posts: 273
Joined: Thu Apr 30, 2015 12:00 pm
Points :2403
Contact:

The usage of OpenKeyChain combined with OpenPGPApplet in A40CR card

Post by JavaCardOS » Thu Jan 21, 2016 5:18 am

OpenKeychain is an OpenPGP implementation for Android. It helps you communicate more privately and securely, compatible with the OpenPGP standard.

Preparation:
1.Download OpenKeyChain (see attachment), install it into the phone.
2.Start the application, and make sure NFC is turned on.
3.Use pyApdutool to download the OpenPGPApplet into A40CR card, install and select the applet.

Create Key:
1.Put A40CR to the back of phone, A40CR begins to communicate with the phone, then select "Use this Yubikey". See the following figure 01.

2.In the below "Manage my keys" dialog, select "CREATE MY KEY" menu. See the following figure 02.

3.Follow the prompts, enter the user name, email and PIN. Then click 'NEXT'and a confirmation message box will pop up, you must confirm it and select "CREATE KEY" menu to create a new key, as the figure 08 shown.

4.After the key is created, follow the prompts, and take away the A40CR card, you can see the created key and its detailed information. See figure 03.

5. You can also manage the created key from the actions menu.

Encrypt/decrypt files or text:
1. In above figure 03, there are two shortcut button, you can select encrypt files and text directly.
2. Encrypt files: Select a file to encrypt, choose the key you created previously, and enter the PIN to access the key, then 'UNLOCK'(see figure 05). After that, "Take away the Yubikey now" will pop up,which indicating that the file has been successfully encrypted and you can set the name for the encrypted file. After removing the card, the app goes back to the key chain manage dialog.

3. Decrypt files: Click actions menu and the main menu will pop up (see figure 07), and select "Encypt/Decypt" menu, follow the prompts, you can decrypt the file you encrypted previously.

4. Encrypt text: In the main menu, select "Encrypt Text" menu, then choose the key you created previously, and enter the text to be encrypted, it will begin to encrypt.
5. Decrypt text: In the main menu, select "Read from clipboard" to decrypt the text, and display the decrypted text.

Others:
EditKey: In figure 03, click actions menu, a menu containing "Backup key", "Delete key" and "Extended information" pops up.
Note: In here, the delete key is just in the application, not on the card.
Reset Key: When the key is deleted from APP, or the key in the App do not match with the key on the card, dialogbox about "import key" and "reset Yubikey" will pop up. See figure 06.
You do not have the required permissions to view the files attached to this post. Please login first.

Rahul
Posts: 1
Joined: Mon Feb 03, 2020 2:16 am
Points :8
Contact:

Re: The usage of OpenKeyChain combined with OpenPGPApplet in A40CR card

Post by Rahul » Mon Feb 03, 2020 2:18 am

Hi!
Excellent Share!



Thank you!!

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 11 guests

JavaCard OS : Disclaimer