All digest values in paymust align with alg unless explicitly denoted. (Digest serialization)
I don't think this library is covering that or needs to, but I should double check. We may want to write a canary test.
For example, these example values in pay need to be correctly interpreted by external systems, but not necessarily Coz, which poses a difficult question: if Coz isn't handling it, what's the best practice for third parties?
ES256:U5XUZots-WmQYcQWmsO751Xk0yeVi9XUKWQ2mGz6Aqg
SHA-256:oDBDAg4xplHQby6iQ2lZMS1Jz4Op0bNoD5LK3KxEUZo
Perhaps including a ParseDigest function that handles <alg>:<digest> is warranted.
All digest values in
paymust align withalgunless explicitly denoted. (Digest serialization)I don't think this library is covering that or needs to, but I should double check. We may want to write a canary test.
For example, these example values in
payneed to be correctly interpreted by external systems, but not necessarily Coz, which poses a difficult question: if Coz isn't handling it, what's the best practice for third parties?Perhaps including a
ParseDigestfunction that handles<alg>:<digest>is warranted.