pycose icon indicating copy to clipboard operation
pycose copied to clipboard

Improvements

Open aahajj opened this issue 8 months ago • 6 comments

I've added some improvements to pycose:

  • Updated the README file.
  • Added a check for the content-type parameter — 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 alg and crit header parameters in the unprotected header, as per RFC 9052.
  • Added checks to ensure correct usage of nonces and key lengths, following RFC 9053.

aahajj avatar Jun 21 '25 21:06 aahajj