<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Smartcard on Whisperd</title><link>https://kaichaosun.github.io/tags/smartcard/index.xml</link><description>Recent content in Smartcard on Whisperd</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sat, 20 May 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://kaichaosun.github.io/tags/smartcard/index.xml" rel="self" type="application/rss+xml"/><item><title>Javacard quick start</title><link>https://kaichaosun.github.io/post/javacard_quick_start/</link><pubDate>Sat, 20 May 2023 00:00:00 +0000</pubDate><guid>https://kaichaosun.github.io/post/javacard_quick_start/</guid><description>Prerequisites Install jdk11, jdk-11.0.19_macos-aarch64_bin.dmg, GlobalPlatformPro not work with jdk8
Set JAVA_HOME in ~/.zshrc (choose yours)
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home Compile and install applet Get the souce code of test applet and javacard sdk,
# clone demo applet git@github.com:devrandom/javacard-helloworld.git # clone javacard sdk git@github.com:martinpaljak/oracle_javacard_sdks.git In javacard-helloworld folder, create file gradle.properties, and add its content,
com.fidesmo.gradle.javacard.home=/path/to/oracle_javacard_sdks/jc304_kit/ Build the applet,
./gradlew convertJavacard -i Operations with Card Get the release or compiled version of GlobalPlatformPro,
java -jar gp.</description></item></channel></rss>