mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Add new field no 18 to the colon listing.
* g10/misc.c (gnupg_pk_is_compliant): New. * g10/keylist.c (print_compliance_flags): New. (list_keyblock_colon): Call it here. * sm/keylist.c (print_compliance_flags): New. (list_cert_colon): Call it here. -- This patch is to convey information about DE_VS compliant keys to the caller. The double digit value is used so that parsers do the right thing and don't just look for a single digit. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
e2c63a13e2
commit
fe0b37e123
5 changed files with 168 additions and 25 deletions
|
@ -125,6 +125,9 @@ int openpgp_pk_test_algo2 (pubkey_algo_t algo, unsigned int use);
|
|||
int openpgp_pk_algo_usage ( int algo );
|
||||
const char *openpgp_pk_algo_name (pubkey_algo_t algo);
|
||||
|
||||
int gnupg_pk_is_compliant (int compliance, PKT_public_key *pk,
|
||||
unsigned int keylength, const char *curvename);
|
||||
|
||||
enum gcry_md_algos map_md_openpgp_to_gcry (digest_algo_t algo);
|
||||
int openpgp_md_test_algo (digest_algo_t algo);
|
||||
const char *openpgp_md_algo_name (int algo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue