diff options
author | Werner Koch <[email protected]> | 2020-05-13 19:21:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-05-13 19:22:28 +0000 |
commit | b1694987bb6484405d41d34046a5290176feadd0 (patch) | |
tree | 0318ab518dd1ed0eb6aeb70615be28b1c81ffb13 /sm/gpgsm.h | |
parent | sm: Support signing using ECDSA. (diff) | |
download | gnupg-b1694987bb6484405d41d34046a5290176feadd0.tar.gz gnupg-b1694987bb6484405d41d34046a5290176feadd0.zip |
sm: Support import and verification of EdDSA certificates.
* sm/certdump.c (gpgsm_get_serial): New.
* sm/certcheck.c (gpgsm_check_cert_sig): Support EdDSA signatures.
--
Note that this does not work with the self-signed RFC-8410 sample
certificate; see the code for comments.
The Ed488 case has not been tested due to a lack of support in
Libgcrypt.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r-- | sm/gpgsm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h index 9c6f0e3d4..96da48221 100644 --- a/sm/gpgsm.h +++ b/sm/gpgsm.h @@ -297,6 +297,7 @@ char *gpgsm_get_certid (ksba_cert_t cert); /*-- certdump.c --*/ +const void *gpgsm_get_serial (ksba_const_sexp_t sn, size_t *r_length); void gpgsm_print_serial (estream_t fp, ksba_const_sexp_t p); void gpgsm_print_time (estream_t fp, ksba_isotime_t t); void gpgsm_print_name2 (FILE *fp, const char *string, int translate); |