Add signature tests, fix tests
This commit is contained in:
parent
4081e693fc
commit
b42e382224
8 changed files with 121 additions and 27 deletions
|
|
@ -112,7 +112,7 @@ func verifySignature(
|
|||
}
|
||||
|
||||
if signer == nil {
|
||||
return false, errors.New("signer is empty")
|
||||
return false, errors.New("pmcrypto: signer is empty")
|
||||
}
|
||||
// if signer.PrimaryKey.KeyId != signed.PrimaryKey.KeyId {
|
||||
// // t.Errorf("wrong signer got:%x want:%x", signer.PrimaryKey.KeyId, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue