We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
COSE_CertHash
hash-entry
We currently import hash-entry from CoSWID:
hash-entry = [ hash-alg-id: int hash-value: bytes ]
which forces hash algorithm identifiers to be integer codes from IANA's named-information registry.
That's great, but imposes a dependency on yet another registry.
We could take instead the more merciful approach taken by RFC9360:
COSE_CertHash = [ hashAlg: (int / tstr), hashValue: bstr ]
which allows, for alg-ids, strings as an alternative to code points.
The text was updated successfully, but these errors were encountered:
I'm not passionate about it either way.
Sorry, something went wrong.
Allow digest algorithm to be string
b1df06a
Fix #54 Signed-off-by: Thomas Fossati <thomas.fossati@arm.com>
Successfully merging a pull request may close this issue.
We currently import
hash-entry
from CoSWID:which forces hash algorithm identifiers to be integer codes from IANA's named-information registry.
That's great, but imposes a dependency on yet another registry.
We could take instead the more merciful approach taken by RFC9360:
which allows, for alg-ids, strings as an alternative to code points.
The text was updated successfully, but these errors were encountered: