HomePhabricator

tests: Use public key to verify signatures

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on May 2 2019, 4:07 PM.

Description

tests: Use public key to verify signatures

Previously in the tests the private key structure would be used for
signature verification. Use the corresponding public key instead.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnMay 13 2019, 4:37 PM
Parents
rLIBSSH88a8b1f57c6c: pki_gcrypt: Added pki_sign_data() and pki_verify_data_signature()
Branches
Unknown
Tags
Unknown