JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

Some APDU commands about this FluffyPGPApplet

Open source implementation of the OpenPGP smart card version 2.0 on a java card.

Moderator: Ellisun

User avatar
Tolice
Posts: 40
Joined: Wed May 20, 2015 2:41 am
Points :254
Contact:

Some APDU commands about this FluffyPGPApplet

Post by Tolice » Wed Dec 16, 2015 6:28 am

The following APDU commands is some result of my studying this applet:

Code: Select all

//select 
00A4040010D276000124010200000000000000000000;

//Signature

//verify pw1
0020008106313233343536;

//verify pw3
00200083083132333435363738;

// generate sig_key key pair
8047800001B6;

//getResponse
00C00001;

//compute signature
802A9E9A06010203040506;

//verify pw1
0020008206313233343536;
//verify pw3
00200083083132333435363738;
//PUTKey
//import auth_key
10DB3FFF264D8203A2A4007F48159103928180938180948180958180968180978201005F48820383010001;

10DB3FFF80DB99BAA1C9820DC73596CFABEC88558A5C876C78A151724F2C75D5B933B49B459DD3FDB4DA5350C8A51647B6FEDF3E69C2FDBC4B43441E1FA62A7615133CFAC43574D9CF0D49CC1B08A955A902E54389101A48661E2CC9D0FE32B2008912D0FD327926A6BEFC282981BB863106F6256778AEEE5DC3C90CA1E517C16BFAB53D;

10DB3FFF80DB3B75B0E81EBB1F76BFE44B7919B350EA3FFFC1747B58E5343D2C3A55BF4E4092C2D1CEF3D562AD2D650CE3254010B159C3C28DF51E2BB4E3FA5B219479EF4A49934F048C720C1586C5B5272E9402FC84BEB536CC11C4D8F0CEB6CA18FA8EDC807A5F46A143944226F66345A629DD59C62C931E128CA9C1754BC5E3B9B88BAF;

10DB3FFF80988E90E1AE83B84A35F23DE7A76C0F2F4F3D33EA4A659473C70BD91FBA17330AAD5AC4BEE94E302F7D613E648629D38FAC937F97DC63E7D129DEEEB29BCFFE396DFD0BC000F181700337002AC8D14301C2A85C8FC37FAE391D87E3345BE9DDD1A95E5F8CD41E5B632A7DF7F83CC291835F4A1A34DF48E92EF869CB3AEE2136F3;

10DB3FFF80CD409F9F2E601F8EADB8FAFC1F85C226239BF437BFD807769700C0356D6D869F8808279F0D5D4829719C2485972D8401885E6ECB0DE13222B4C6053E678FDC76DDDC0CE4A8EFEC14EC80916EFA24DD7DD38E2D533D2AF1AB249CAFA12E7D66D6F181292E3B5E260FBD914FB8AD600DCFEB8DDD7FC84A37436E8448A62B5B90FD;

10DB3FFF8091F31DC0EE67371015505EBDD81B4203864FA106BB733A952C97E50FD8F2093877FBF70D9DCADB6C8B2210D84F7E3D1EB4B1DC9E01275AD58C48A9CECB37FA142CB34311B6265EE11DDE1561C662873271753CD3043C781E2D0291322E3AF04CDFC398163F59EC23B628A5A242A2F057C9D4F704383928F2401277E5C94890C5;

10DB3FFF80BC0F840B6DC5A0C057D99AEEBB0465565C8F3154D9C4BD7FCDB80DDF0EED82E2A0405DCF477462BD88FE81BFC587EA6E85F94D98CEE64C0F61E451953DAA01311BD1032527F4AE62FB0BC4C29810BC6DE8AB3E7CC2032A3E3892FC0EBAA8212A111828B16177097505F0F267B5183B6338E42972CA3E6F9318F660CC36A50AA5;

10DB3FFF82EBB90FE1E3236513B92AFB85897C8F3EF3F672A7A5EB927FD4CC5BADE565417DA038FD4A8DD4A35AA55E0A1006150276A491305707D13F8E692C6C715D78E45C1C44A599DA87F0B3369ED88D5CEBF16370201FFAF121B41DA475D489960AAC99284EC4101853D890791942A6A73E2987EBFFFDE83592C68628A5B63379AFE34B5F48;

80DB3FFF00;

//internalAuthenticate
8088000006112233445566FF;
Last edited by Tolice on Fri Dec 18, 2015 1:57 am, edited 2 times in total.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: Some APDU commands about this FluffyPGPApplet

Post by UNKNwYSHSA » Wed Dec 16, 2015 10:11 pm

In code of FluffyPGP, the internalAuthenticate() method response 256 bytes, but the response of your command "internalAuthenticate" is onely 1 byte?
sense and simplicity

User avatar
Tolice
Posts: 40
Joined: Wed May 20, 2015 2:41 am
Points :254
Contact:

Re: Some APDU commands about this FluffyPGPApplet

Post by Tolice » Fri Dec 18, 2015 1:57 am

UNKNwYSHSA wrote:In code of FluffyPGP, the internalAuthenticate() method response 256 bytes, but the response of your command "internalAuthenticate" is onely 1 byte?


I'm sorry, there are some error in my script, have been fixed, thank you.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: Some APDU commands about this FluffyPGPApplet

Post by UNKNwYSHSA » Fri Dec 18, 2015 3:58 am

Oh.
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 3 guests

JavaCard OS : Disclaimer