-
Notifications
You must be signed in to change notification settings - Fork 0
F #6
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
base: 3xvwom-codex/find-and-fix-a-bug-in-code
Are you sure you want to change the base?
F #6
Conversation
Log ARQC command and sanitize dump filenames
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new rich CLI interface for contactless card reading functionality and includes improvements to the underlying NFC extraction logic. The main purpose is to provide a user-friendly terminal interface for EMV card operations with enhanced logging capabilities.
Key changes include:
- Creation of a new rich CLI application with interactive menus and configuration management
- Enhanced function signatures to return APDU commands alongside responses for better logging
- Addition of comprehensive EMV flow documentation
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| rich_cli.py | New CLI application with Rich library for interactive card reading and configuration |
| extrair_nfc_limpo.py | Enhanced PDOL parsing, improved function signatures, and better variable naming |
| extrair_nfc.py | Updated function calls to match new signatures from extrair_nfc_limpo.py |
| docs/fluxos_emv.md | New documentation explaining EMV transaction flows and protocols |
| config.json | Default configuration file for the CLI application |
| .github/workflows/pylint.yml | Removed GitHub Actions workflow file |
| if not os.path.exists('dumps'): | ||
| os.makedirs('dumps') | ||
| filename = f"{track2 or 'notrack2'}_{aid}.json" | ||
| filename = f"{track2_prefix}_{aid}.json" |
Copilot
AI
Aug 4, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable track2_prefix is used but not defined in this function. It should be defined based on track2 data similar to the implementation in extrair_nfc_limpo.py.
gusdcoder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HGJ
gusdcoder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Y
[WIP] Fix typo in error message handling
F