pycose
pycose copied to clipboard
Improvements
I've added some improvements to pycose:
- Updated the README file.
- Added a check for the
content-typeparameter — RFC 9052 says it can't have leading or trailing spaces and must follow the<type-name>/<subtype-name>format. - Added checks to make sure the user can't put the
algandcritheader parameters in the unprotected header, as per RFC 9052. - Added checks to ensure correct usage of nonces and key lengths, following RFC 9053.