@dangerousthings/globalplatform-capfile
v0.1.0
Published
Java Card CAP file parsing and load file data block assembly
Maintainers
Readme
@dangerousthings/globalplatform-capfile
Reads Java Card CAP files: package AID, applet AIDs, and the component order a card
expects during LOAD.
Acknowledgements
Protocol details that are easy to get subtly wrong were verified against
GlobalPlatformPro and
capfile — by Martin Paljak and the
GlobalPlatformPro contributors — rather than guessed at. PUT KEY is the clearest case:
the specification leaves the key-data cipher ambiguous enough that both readings are
widely believed, and the wrong one leaves a card holding a key nobody can reproduce.
This is an independent implementation. No code is taken from either project — what was taken is the answer to "which of these two plausible things do real cards accept", which is the part no specification reliably tells you.
License
MIT
