GSMA-CPAS / BWRP-chaincode

Apache License 2.0
1 stars 0 forks source link

Prevent signing multiple times with one cert #36

Closed informartin closed 3 years ago

informartin commented 3 years ago

This implements #35.

It is checked whether the certificate has already been used for signing. This also means that no further signatures can be added, even if the signature stored in the past was invalid.

sschulz-t commented 3 years ago

wow that was quick! looks good to me. teqst_query.sh runs fine. trying to sign twice produces an error as expected.