Home GnuPG
Diffusion GnuPG b47603a0ac24

gpg: Add new compliance mode "de-vs".
b47603a0ac24Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Add new compliance mode "de-vs".

* g10/options.h (CO_DE_VS): New.
(GNUPG): Also allow CO_DE_VS.
* g10/gpg.c (oDE_VS): New.
(parse_compliance_option): Add "de-vs".
(set_compliance_option): Set "de-vs".
* g10/misc.c (compliance_option_string): Return a description string.
(compliance_failure): Ditto.
* g10/keygen.c (ask_algo): Take care of CO_DE_VS.
(get_keysize_range): Ditto.
(ask_curve): Add new field to CURVES and trun flags into bit flags.
Allow only Brainpool curves in CO_DE_VS mode.

As of now this compliance mode only restricts the set of algorithms
and curves which can be created.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 15 2016, 5:50 PM
Parents
rG4bd12b571e66: doc: Add comment to make clear that KBNODE is deprecated.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGb47603a0ac24: gpg: Add new compliance mode "de-vs". (authored by Werner Koch <wk@gnupg.org>).Nov 15 2016, 5:50 PM