Skip to content

feat: add device_public_key_fingerprint cross-layer binding#44

Merged
felippemsc merged 1 commit intomainfrom
feat/cross-layer-binding
Feb 17, 2026
Merged

feat: add device_public_key_fingerprint cross-layer binding#44
felippemsc merged 1 commit intomainfrom
feat/cross-layer-binding

Conversation

@felippemsc
Copy link
Contributor

@felippemsc felippemsc commented Feb 17, 2026

Summary

  • Add device_public_key_fingerprint field to CaptureTrustClaims JWT struct
  • Add DevicePublicKeyFingerprintMismatch error variant
  • Add verify_device_public_key_fingerprint() integrity check that computes SHA-256(base64_decode(public_key)) and compares to the JWT claim
  • Wire fingerprint verification into the validation pipeline (validate.rs)
  • Expose fingerprint_match in MediaIntegrityResult and device_public_key_fingerprint in CaptureTrustResult
  • Update Python bindings to expose new fields
  • Update CLI output to display fingerprint check result

Test plan

  • All 25 unit tests pass
  • Doc-test passe
  • Manual test: validate a sidecar with matching fingerprint → passes

@felippemsc felippemsc merged commit fe970cc into main Feb 17, 2026
5 checks passed
@felippemsc felippemsc deleted the feat/cross-layer-binding branch February 17, 2026 22:33
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