Home GnuPG
Diffusion GPGME d5fb92cdaed2

Map public key algos returned by gpg to gpgme values.
d5fb92cdaed2Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Map public key algos returned by gpg to gpgme values.

* src/conversion.c (_gpgme_map_pk_algo): New.
* src/decrypt.c (parse_enc_to): Add arg PROTOCOL and map pubkey algo.
(_gpgme_decrypt_status_handler): Map pubkey algo.
* src/keylist.c (keylist_colon_handler): Map pubkey algo.
* src/sign.c (parse_sig_created): Add arg PROTOCOL and map pubkey
algo.
* src/verify.c (parse_new_sig): Ditto.
(parse_valid_sig): Ditto.
* src/gpgme.h.in (GPGME_PK_ECC): New.
(GPGME_MD_SHA224): New.
* src/gpgme.c (gpgme_pubkey_algo_name): Add GPGME_PK_ECC case.
(gpgme_hash_algo_name): Add GPGME_MD_SHA224.

This affects only the not yet released ECC code of GnuPG 2.1.

Details

Provenance
wernerAuthored on May 8 2014, 2:03 PM
Parents
rM991cde9e79fe: Add GPGME_ENCRYPT_NO_COMPRESS flag.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rMd5fb92cdaed2: Map public key algos returned by gpg to gpgme values. (authored by Werner Koch <wk@gnupg.org>).May 8 2014, 2:11 PM