peppelinux / draft-demarco-oauth-status-assertions

OAuth 2.0 Status Assertions for Digital Credentials
Other
4 stars 5 forks source link

IANA named hash registry, and make sha-256 mandatory to implement. #16

Closed peppelinux closed 7 months ago

peppelinux commented 7 months ago

lets use the IANA named hash registry, and make sha-256 mandatory to implement.

https://www.iana.org/assignments/named-information/named-information.xhtml#hash-alg

Alternatively, we can use the cose registry which includes hash algorithms:

https://www.iana.org/assignments/cose/cose.xhtml#algorithms

the "COSE" style for this kind of thing would be:

credential_hash: [alg, hash]

_Originally posted by @OR13 in https://github.com/peppelinux/draft-demarco-oauth-status-attestations/pull/6#discussion_r1487916459_

peppelinux commented 7 months ago

see also https://github.com/peppelinux/draft-demarco-oauth-status-attestations/pull/6#discussion_r1487918496