diff options
| author | Werner Koch <[email protected]> | 2020-05-08 12:14:01 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2020-05-08 13:10:13 +0000 |
| commit | 34b628db4618a8712536aea695f934b0286e7b18 (patch) | |
| tree | 82106e8c2790717c34b7171ade109f6d0b46ed97 /sm/gpgsm.c | |
| parent | sm: Improve readability of the data verification output. (diff) | |
| download | gnupg-34b628db4618a8712536aea695f934b0286e7b18.tar.gz gnupg-34b628db4618a8712536aea695f934b0286e7b18.zip | |
sm: Cleanup the use of GCRY_PK_ECC and GCRY_PK_ECDSA.
* common/sexputil.c (pubkey_algo_to_string): New.
* sm/certcheck.c (do_encode_md): Replace GCRY_PK_ECDSA by GCRY_PK_ECC.
* sm/certreqgen-ui.c (check_keygrip): Add all ECC algorithms.
* sm/gpgsm.c (our_pk_test_algo): Also allow EdDSA.
* sm/verify.c (gpgsm_verify): Map ECC algo to ECDSA. Use new pubkey
algo name function
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'sm/gpgsm.c')
| -rw-r--r-- | sm/gpgsm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c index ef3fe91b8..057ef50a1 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -510,6 +510,7 @@ our_pk_test_algo (int algo) { case GCRY_PK_RSA: case GCRY_PK_ECDSA: + case GCRY_PK_EDDSA: return gcry_pk_test_algo (algo); default: return 1; |
