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 APDU of RSA Signature in OpenPGPApplet

This project implement the OpenPGP card functionality

Moderator: Ellisun

User avatar
Ellisun
Posts: 45
Joined: Wed May 20, 2015 3:47 am
Points: 396
Contact:

The APDU of RSA Signature in OpenPGPApplet

Postby Ellisun » Fri Nov 27, 2015 5:26 am

The following is the APDU command used in the process of RSA signature:

Code: Select all

//Signature

//select
00 A4 04 00 10 D2 76 00 01 24 01 02 00 00 06 00 00 00 01 00 00 00;

//verify pw1
0020008106313233343536;

//verify pw3
00200083083132333435363738;

// generate sig_key key pair
8047800001B6;

//getResponse
00C0000F;

//compute signature
802A9E9A06010203040506;

//getResponse
00C00001;


Also you can using the follows APDU commands to change the user pin and admin pin.
The format is:
//change User PIN
80 24 00 81 + Lc + New Pin + Old Pin + le
//change admin PIN
80 24 00 83 + Lc + New Pin + Old Pin + le

For example:

Code: Select all

//change User PIN
802400810C313233343536112233445566

//change admin PIN
802400831031323334353637381122334455667788



    Note:
  1. The attachment is the script file, you can send it directly using pyApdutool.
You do not have the required permissions to view the files attached to this post. Please login first.

bigWhite
Posts: 25
Joined: Tue Aug 25, 2015 8:21 am
Points: 164
Contact:

Re: The APDU of RSA Signature in OpenPGPApplet

Postby bigWhite » Sun Nov 29, 2015 11:50 pm

It's very well. :lol: :lol: :lol:


Return to “OpenPGPApplet”

Who is online

Users browsing this forum: No registered users and 2 guests

JavaCard OS : Disclaimer