Skip to content

#6240 Improve checksum mismatch validation#6241

Open
sosnovsky wants to merge 1 commit into
masterfrom
6240-checksum-mismatch-fix
Open

#6240 Improve checksum mismatch validation#6241
sosnovsky wants to merge 1 commit into
masterfrom
6240-checksum-mismatch-fix

Conversation

@sosnovsky

Copy link
Copy Markdown
Collaborator

This PR fixes false incorrect checksum warnings for decrypted PGP messages. Previously, valid PGP messages without an armor checksum line were incorrectly reported as checksum failures. It happened with messages generated by openpgpjs v6, where the CRC24 armor checksum is optional and commonly omitted.

close #6240


Tests (delete all except exactly one):

  • Tests added or updated

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities
  • is documented clearly and usefully, or doesn't need documentation

@sosnovsky sosnovsky requested a review from martgil June 8, 2026 19:37
@sosnovsky sosnovsky enabled auto-merge (squash) June 8, 2026 19:38
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.

Fix false-positive 'Checksum mismatch detected' warnings

1 participant