Skip to content

Stop logging decrypted APDU payloads and MAC keys - #276

Open
bahadirtmzr wants to merge 1 commit into
AndyQ:mainfrom
bahadirtmzr:fix/redact-nfc-debug-logs
Open

Stop logging decrypted APDU payloads and MAC keys#276
bahadirtmzr wants to merge 1 commit into
AndyQ:mainfrom
bahadirtmzr:fix/redact-nfc-debug-logs

Conversation

@bahadirtmzr

Copy link
Copy Markdown

TagReader.send() logged the full unprotected response body after SM, including DG1 MRZ and DG2 image bytes. desMAC() logged Retail-MAC key halves.

Debug logs now keep response size and status words only.

TagReader dumped unprotected response bodies (DG1/DG2) at debug.
desMAC logged the Retail-MAC key halves. Keep sizes and SW only.
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.

1 participant