@glyphp/core@1.6.0
·
2 commits
to main
since this release
Minor Changes
- 4418e47: Fix RFC-0007 §3.1.1: bind the keyless
subjectDigestto the card's
attestation-exclusive canonical id (new exportedkeylessSubjectDigest())
instead ofsha256(card.id). The bundle rides insidecard.attestation,
which itself enterscard.id, so the original binding was an unsatisfiable
fixed point — no keyless-attested card could pass bothverifyGlyph()and
keyless verification at once.KeylessVerifier.verifynow recomputes the
digest from the received card's content, never fromcard.id(whose own
integrity staysverifyGlyph's §3.2 check). For a card without an
attestation the digest still equalssha256(card.id).