Questions tagged [gpshell]

6 questions
3
votes
1 answer

Why java SIM card secure channel returns "do not match"?

I'm trying to install an applet on a SIM card wich supports java card V3.0.4. When I try to establish a secure channel to load the applet, the card returns an error: mode_211 enable_trace establish_context card_connect select -AID…
MJay
  • 987
  • 1
  • 13
  • 36
3
votes
2 answers

How do I get CPLC data from a smart card?

I'm using GPShell on an Ubuntu VM with a smart card reader (the model is ACR122) and I'm using several different NXP SmartMX chips. Using their Android TagInfo app, I'm able to see the "Card Production Lifecycle Data" when I scan one specific…
Josh Beam
  • 19,292
  • 3
  • 45
  • 68
0
votes
1 answer

download applet failed after changing key on PyApduTool

Download applet does not work anymore since i changed all 3 default key. i can authenticate with this script GPShell mode_211 enable_trace establish_context card_connect select -AID A000000003000000 open_sc -scp 2 -scpimpl 0x15 -security 1…
0
votes
2 answers

Javacard J2A040 changing default key with GPShell script not work

I want to change default key but script below on GPShell return 6A80. mode_211 enable_trace establish_context card_connect select -AID A000000003000000 open_sc -scp 2 -scpimpl 0x15 -security 1 -keyind 0 -keyver 0 -mac_key…
0
votes
0 answers

Build GlobalPlatform for Ubuntu 14.04 LTS

I try building GlobalPlatform for Ubuntu 14.04LTS to get GPShell up and running. but I get the following errors. I think this is openssl related but I'm not 100% sure. crypto.c:1391:17: error: storage size of ‘ctx’ isn’t known EVP_CIPHER_CTX…
Flo
  • 2,699
  • 4
  • 24
  • 46
-1
votes
1 answer

How to keep log messages to a file in JCShell?

I am executing some commands in JCShell (init-update, auth-ext, etc) to communicate with a SmartCard. I would like to address all those log messages to a file, so then I could manipulate them. What is the command/method to do this? Thanks