Home GnuPG
Diffusion GnuPG 985fb25c46ea

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
rG40d2c9316527: gpgconf: Include output of --list-dirs in --show-configs.
Branches
Unknown
Tags
Unknown