Skip to content

Conversation

@tomkp
Copy link
Owner

@tomkp tomkp commented Dec 28, 2025

Summary

  • Add emv read-record <sfi> <record> - Read a record from SFI
  • Add emv get-data <tag> - Get data by EMV tag
  • Input validation for SFI (1-30) and record (0-255)
  • Hex tag parsing with 0x prefix support

Test plan

  • All 99 tests pass (8 new tests + 91 existing)
  • Lint passes

Closes #59

Add commands to read data from EMV cards:
- `emv read-record <sfi> <record>` - Read a record from SFI
- `emv get-data <tag>` - Get data by EMV tag

Includes:
- Input validation for SFI (1-30) and record (0-255)
- Hex tag parsing with 0x prefix support
- Clear error messages with status words

Closes #59
@tomkp tomkp merged commit 112f03f into master Dec 28, 2025
2 checks passed
@tomkp tomkp deleted the feature/read-commands branch December 28, 2025 20:42
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

Successfully merging this pull request may close these issues.

Implement read commands (read-record, get-data)

2 participants