Closed izouxv closed 4 years ago
Thank you for your contribution.
I'm assuming this code allows creation of key revocation signatures for new or existing key bundles, and then such bundle can be serialized with said revocation.
In order to merge, we are going to need test(s) (probably in signature_test.go
file) that:
1) shows example use of new API,
2) confirms that it works, by showing that go-crypto can deserialize key created with SignRevocationKey
back and understand the serialized revocation.
fix panic on parsing EmbeddedSignature signature, and remove outSubpacket lenght large then zero condition in CrossSignKey. FlagSign enable and key bits large then 2048, the error will appear
add SignRevocationKey