Home GnuPG
Diffusion GnuPG c397ba3ac02e

gpg: New option --forbid-gen-key.

Description

gpg: New option --forbid-gen-key.

* g10/gpg.c (oForbidGenKey, opts): New option.
(mopt): New local struct
(gen_key_forbidden): New.
(main): Set and handle the option.

In large system installation it is sometimes useful to make it a bit
harder for users to generate their own keys. An example is a policy
to not use on-disk keys.

Details

Provenance
wernerAuthored on Nov 22 2021, 8:59 PM
Parents
rGb091a250d141: gpgconf: Fix last commit.
Branches
Unknown
Tags
Unknown