This is just a complaint from a user.
It is sad that the algorithm IDs never were aligned.
A few examples of what I stumbled into:
1. AES-CBC doesn't exist in JOSE
2. WebCrypto: {name: 'RSA-OAEP', hash: {name: 'SHA-256'}} = JOSE: RSA-OAEP-256
3. Let's say that you wanted to create a protocol that would hash something and
then you would supply an algorithm ID,
then what would use? AFAICT, there's nothing that would be aligned with JOSE (it doesn't
need hash). Using "SHA-256"?
Well, then you would be mixing algorithm IDs from different dictionaries which
sounds like a rather ugly hack.
That x5c elements are (unlike everything else binary) not base64url-encoded
also feels a bit strange but I guess this a legacy thing.
Anders
_______________________________________________
jose mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/jose