Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "echo" on APDU file #110

Open
thibaultmeyer opened this issue Jun 2, 2017 · 0 comments
Open

Add "echo" on APDU file #110

thibaultmeyer opened this issue Jun 2, 2017 · 0 comments

Comments

@thibaultmeyer
Copy link

It could be nice to have a way to output custom text or to add APDU "title" on the console output. When the APDU file have two or three APDU commands, no problem, but when it contains more than 40, the output become difficult to read.

test.apdu

echo "> Install application";
0x80 0xb8 0x00 0x00 0x09 0x06 0xB3 0x61 0x5D 0x7F 0xC4 0xDC 0x7F 0x00 0x7F;

echo "> Select application";
0x00 0xA4 0x04 0x00 0x06 0xB3 0x61 0x5D 0x7F 0xC4 0xDC 0x7F;

Console ouput

> Install application
CLA: 80, INS: b8, P1: 00, P2: 00, Lc: 09, 06, b3, 61, 5d, 7f, c4, dc, 7f, 00, Le: 06, b3, 61, 5d, 7f, c4, dc, SW1: 90, SW2: 00
> Select application
CLA: 00, INS: a4, P1: 04, P2: 00, Lc: 06, b3, 61, 5d, 7f, c4, dc, Le: 00, SW1: 90, SW2: 00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant