Skip to content

fix: stop verifying fingerprint in bobProcessQr (issue #313 stage 1)#315

Merged
danmarg merged 2 commits into
mainfrom
fix/stop-validating-fingerprint
Jun 14, 2026
Merged

fix: stop verifying fingerprint in bobProcessQr (issue #313 stage 1)#315
danmarg merged 2 commits into
mainfrom
fix/stop-validating-fingerprint

Conversation

@danmarg

@danmarg danmarg commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Closes #313 (stage 1).

Summary

  • QrPayload.fingerprintString? = null (optional in JSON; Alice still sends it for backwards compatibility)
  • Removed the fingerprint consistency check in bobProcessQrkey_confirmation is the authoritative integrity check
  • Removed bobProcessQr rejects tampered fingerprint test
  • Fixed nullable .length call in the Alice-side QR payload test

Test plan

  • ./gradlew :shared:jvmTest passes

🤖 Generated with Claude Code

danmarg and others added 2 commits June 13, 2026 22:45
Make QrPayload.fingerprint optional (String? = null); remove the
fingerprint consistency check in bobProcessQr and its corresponding
test. Alice still sends the field for backwards compatibility.
key_confirmation remains the authoritative integrity check.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@danmarg danmarg merged commit cd435fe into main Jun 14, 2026
7 checks passed
@danmarg danmarg deleted the fix/stop-validating-fingerprint branch June 14, 2026 06: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.

Remove fingerprint field from QR/invite payload (Stage 1: stop verifying)

1 participant