Smart Card Solution
User Manual
- R502 Manual
JavaCard API Samples
- Algorithm
Java Card Specification
Knowledge Sharing
Smart Card Solution
User Manual
JavaCard API Samples
Java Card Specification
Knowledge Sharing
KeepassNFC is an applet in javacard platform that it can protect the secret key of KeePass database . It was based on the project smartcard_crypto_applet and can be run on javacard platform with JCRE version 2.2.x or above. KeePass is a famous software about password management .
This Demo use pyApduTool as an example.
Start pyApdutool and click “Reader…” . In the pop-up dialog box, select “Feitian R502 Contact Reader 0” and press “OK”, then click “Connect” button to connect the card .
Switch to “Manager” tab, click “Cap File…” to select KeePassNFC CAP file.
Click “Download” button to download the CAP file into the card, after downloading successfully, click “Install” and in the new dialog box, press “OK” to install the applet.
Click “Select” to make the applet selected.
Switch to “Apdu” tab, send command B0 75 00 00 00 to generate keypair, as the figure shows below:
Note:
This may need to wait for a few seconds.
Please use pyApduTool, pyResMan or other APDU tools.
Here we will take Google account as an example.
Please send KeePassDroid-JavaCardOS-1.0.apk and KeePassNFC-JavaCardOS-1.0.apk to your phone and install.
Start KeePassDroid app, create password databas, type the file name, click “Create” as shown below:
Type the password and click “OK”.
Click “Add entry”, create key file.
Open the key file, enter file name, Google account username and password, URL, then press “Save”.
Enable NFC function of your phone.
Start KeePassNFC APP, click Database file icon and select the created keyfile. Select “Use a password” and enter your password, then click “Write NFC”.
Put JC30M48CR card close to your phone and write encrypted key into card. It indicates that write operation is successful when you see the message “Tag written successfully”. This process may take a few seconds.
Note: Please use the phone with Android OS.
Enable NFC function of your phone.
Put JC30M48CR card close to your phone , select KeePassNFC APP In the pop-up box.
Open KeePass database (KeePassDroid will start automatically) and click the KeePass database file (google.kdbx) .
It will inform you about the username and password automatically at notification bar. Just click the separate information to copy the username and password.
Now we will do a test to verify the key file by logging in Google.
Start Chrome and click “sign in”. At notification bar, click username and it will copy username to clipboard, switch to the Google Login page and paste the username in the “Email or phone” input box .
Click “NEXT”, follow the operations above to paste password,then you can login successfully.