Announce two new product: SmartCard Reader Rockey200 and USB2.0 Extension Cable

ROCKEY 200 is a handy and portable USB Smart Card reader that can perform read/write operations on any ISO 7816-1/2/3/4 smart cards which are compatible with protocol T=0 and T=1.

USB2.0 Extension Cable With high speed USB 2.0 devices such as USB token ,USB Card Reader and so on.

Come to try it now!

The usage of OpenKeyChain combined with OpenPGPApplet in A40CR card

This project implement the OpenPGP card functionality

Moderator: Ellisun

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

The usage of OpenKeyChain combined with OpenPGPApplet in A40CR card

Postby 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.
OpenKeychain_01.png

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

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.
OpenKeychain_08.png

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.
OpenKeychain_03.png

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.
OpenKeychain_05.png

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.
OpenKeychain_07.png

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.
OpenKeychain_06.png
You do not have the required permissions to view the files attached to this post. Please login first.

Return to “OpenPGPApplet”

Who is online

Users browsing this forum: No registered users and 2 guests

JavaCard OS : Disclaimer