Skip to content

fix(pkey): use correct value for true#176

Open
whooo wants to merge 1 commit into
tpm2-software:masterfrom
whooo:fix-boolean-encoding
Open

fix(pkey): use correct value for true#176
whooo wants to merge 1 commit into
tpm2-software:masterfrom
whooo:fix-boolean-encoding

Conversation

@whooo

@whooo whooo commented Apr 29, 2026

Copy link
Copy Markdown

ASN1 DER encoding expects the boolean value for true to be 0xFF.
Stricter DER decoders will raise an error if the value isn't 0 or 0xFF.

ASN1 DER encoding expects the boolean value for true to be 0xFF.
Stricter DER decoders will raise an error if the value isn't 0 or 0xFF.

Signed-off-by: Erik Larsson <who+github@cnackers.org>
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