Skip to content

How to test/demonstrate Helloworld with gp #326

Closed Answered by wpd
wpd asked this question in Q&A
Discussion options

You must be logged in to vote

Perhaps I'm supposed to know what I'm doing if I want to use the --apdu option and I should probably construct a valid APDU with something like this (which appears to have worked):

$ gp -d -v --applet A00000006203010C01 --apdu 000000000412345678
# 
# gp -d -v --applet A00000006203010C01 --apdu 000000000412345678
SCardConnect("SCM Microsystems Inc. SCR 3310 [CCID Interface] (53312118210918) 00 00", T=*) -> T=1, 3BFA180000910131FE454A33523138302D323535F5
# GlobalPlatformPro 325fe84
# Running on Linux 5.4.0-153-generic amd64, Java 17.0.7 by Private Build
# Selecting A00000006203010C01
A>> T=1 (4+0009) 00A40400 09 A00000006203010C01
A<< (0000+2) (17ms) 9000
A>> T=1 (4+0004) 00000000 04 123456…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@martinpaljak
Comment options

Answer selected by wpd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants