Page 1 of 1

The Introduction of OpenPGPApplet [part]

Posted: Sun Oct 25, 2015 5:44 am
by Ellisun
Brief Introduction:
----------------------
This project implement the OpenPGP card functionality. OpenPGP is an open standard for signing and encrypting. It enables RSA or ECC sign/encrypt operations using a private key stored on a smartcard (such as ), through common interfaces like PKCS#11.
The AID of the applet should be according to the OpenPGP card standard v2.0.1

License
-------
The upstream project was released under the GPLv2+ and our fork uses the same license. All of our changes are released under the same license. See the file LICENSE for more information.

Building
--------
There are several ways to build the project:
1) With JCIDE.
2) With Eclipse and eclipse-jcde.
3) ......

We usually suggest using JCIDE, it lets you quickly and easily develop Java Card Applet. .

Installing JCKit
----------------
Install the Java Card Development Kit version 2.2.2, download it from here.

Note:
1) The default user PIN(PW1) is '123456', and the admin PIN(PW3) is '12345678' . That is, the APDU of VERIFY command can be :

Code: Select all

00 20 00 81 06 31 32 33 34 35 36 

and

Code: Select all

 00 20 00 83 08 31 32 33 34 35 36 37 38


Security Advisory
1) The source code contains a logical flaw related to user PIN (aka PW1) verification that allows an attacker with local host privileges and/or physical proximity (NFC) to perform security operations without knowledge of the user’s PIN code.

Re: The Introduction of OpenPGPApplet [part]

Posted: Mon Nov 30, 2015 11:50 pm
by glassMan
Is this applet need the card must support the ECC algorithm ?

Re: The Introduction of OpenPGPApplet [part]

Posted: Thu Dec 03, 2015 4:48 am
by Ellisun
This applet only used RSA algorithm and signature, no ECC algorithm :)