Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
public:smartcard [2012-03-14 15:03] – [Smart cards info] petrspublic:research:smartcard:smartcard [2016-12-01 13:28] – external edit 127.0.0.1
Line 1: Line 1:
- 
 ====== Smart cards info ====== ====== Smart cards info ======
  
  
-[[public:smartcard:JavaCardCompilation|JavaCard applet compilation (NetBeans, JC2.2.2, Java SDK 1.3)]]+[[public:research:smartcard:JavaCardCompilation|JavaCard applet compilation (NetBeans, JC2.2.2, Java SDK 1.3)]] 
 + 
 +[[private:sc:JavaCardCompilation|JavaCard applet compilation with PRGMaker]] 
 + 
 +[[public:research:smartcard:GPShell|GPShell documentation and usable scripts]] 
 + 
 +[[public:research:smartcard:TutorialEuropen|Tutorial preparation (Europen 2011)]] 
 + 
 +[[public:research:smartcard:JCOPTools| JCOP Tools]] 
 + 
 +[[public:research:smartcard:Mifare| Mifare cards]]
  
-[[private:JavaCardCompilation|JavaCard applet compilation with PRGMaker]]+[[public:research:smartcard:cestaCesTa project]]
  
-[[public:smartcard:GPShell|GPShell documentation and usable scripts]]+====== Various links ======
  
-[[public:smartcard:TutorialEuropen|Tutorial preparation (Europen 2011)]]+  * JavaCard applet programming guidelinehttp://ruimtools.com/doc.php?doc=jc_best 
 +  * JavaCard history: http://javacard.vetilles.com/2012/09/20/chip-to-cloud-day-2-java-card-15-years-later/ 
 +  * Report on JavaCard 3.0 vulnerabilities (Royal Hollowayhttp://www.ma.rhul.ac.uk/static/techrep/2013/MA-2013-04.pdf 
 +====== Handy smart card tools ====== 
 +  * Cardpeek, Reader of smart card content: http://code.google.com/p/cardpeek/ 
 +  * GPShell, JavaCard applets and keys manager: http://sourceforge.net/projects/globalplatform/ 
 +  * jcManager, JavaCard applets and keys manager: http://www.brokenmill.com/2010/03/java-secure-card-manager/ 
 +  * List of smart cards with ATR: http://ludovic.rousseau.free.fr/softwares/pcsc-tools/smartcard_list.txt 
 +  * Online ATR parsers: http://ruimtools.com/atr.php
  
-[[public:smartcard:JCOPTools| JCOP Tools]] 
  
 ====== PKCS#11/PKCS#15 with JavaCard on Windows ====== ====== PKCS#11/PKCS#15 with JavaCard on Windows ======
Line 19: Line 35:
   * Download Muscle applet via svn co svn://svn.debian.org/muscleplugins/trunk/MCardApplet// or local copy of {{:public:cardedge.zip|preconfigured NetBeans applet}}   * Download Muscle applet via svn co svn://svn.debian.org/muscleplugins/trunk/MCardApplet// or local copy of {{:public:cardedge.zip|preconfigured NetBeans applet}}
     * (Applet using Extended APDU is available here: https://github.com/martinpaljak/MuscleApplet). Note that this applet requires cards with support to javacardx.apdu.ExtendedLength package     * (Applet using Extended APDU is available here: https://github.com/martinpaljak/MuscleApplet). Note that this applet requires cards with support to javacardx.apdu.ExtendedLength package
-  * Compile, Convert and upload applet to smart card - see [[public:smartcard:JavaCardCompilation|HOWTO]]+  * Compile, Convert and upload applet to smart card - see [[public:research:smartcard:JavaCardCompilation|HOWTO]]
   * IMPORTANT: Muscle applet needs to be installed with privilege 'default selected' (CARD_RESET in later specifications). OpenSC tools are **NOT** selecting Muscle applet, therefore preselected applet is necessity.   * IMPORTANT: Muscle applet needs to be installed with privilege 'default selected' (CARD_RESET in later specifications). OpenSC tools are **NOT** selecting Muscle applet, therefore preselected applet is necessity.
     * e.g. in GPShell, //install -file cardedge.cap -nvDataLimit 2000 -instParam 00 **-priv 4**// (-priv 4 makes applet default selected)     * e.g. in GPShell, //install -file cardedge.cap -nvDataLimit 2000 -instParam 00 **-priv 4**// (-priv 4 makes applet default selected)
Line 81: Line 97:
     * fill in certificate parameters     * fill in certificate parameters
     * you may prefill required info into file and 'openssl req -new -x509 -days 365 -key my.key -out my.crt -sha512 < certificate_info.txt'      * you may prefill required info into file and 'openssl req -new -x509 -days 365 -key my.key -out my.crt -sha512 < certificate_info.txt' 
 +    * error: Unable to load config info from /usr/local/ssl/openssl.cnf
 +      * https://stackoverflow.com/questions/14459078/unable-to-load-config-info-from-usr-local-ssl-openssl-cnf-windows
 +      * set environmental variable OPENSSL_CONF=c:/libs/openssl-0.9.8k/openssl.cnf
   * openssl pkcs12 -export -out my.p12 -in my.crt -inkey my.key   * openssl pkcs12 -export -out my.p12 -in my.crt -inkey my.key
     * export your private and public key into single my.p12 file     * export your private and public key into single my.p12 file