TimothyClaeys / pycose

A Python implementation of the COSE specification (CBOR Object Signing and Encryption) described in RFC 8152.
https://tools.ietf.org/html/rfc8152
Other
39 stars 24 forks source link

support multiple signatures in sequence #117

Open kapilvgit opened 10 months ago

kapilvgit commented 10 months ago

Some scenarios require a message to be signed sequentially i.e., one after the other, by two signers. The cose spec supports this but the library doesn't - it fails to parse a previously signed message. This fix allows it to parse signed messages and then sign then a second time.

sonarcloud[bot] commented 10 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud