Home GnuPG
Diffusion GnuPG 6bcb609e1b2a

Add --chuid to gpg, gpg-card, and gpg-connect-agent.

Description

Add --chuid to gpg, gpg-card, and gpg-connect-agent.

* g10/gpg.c (oChUid): New.
(opts): Add --chuid.
(main): Implement --chuid.  Delay setting of homedir until the new
chuid is done.
* sm/gpgsm.c (main): Delay setting of homedir until the new chuid is
done.
* tools/gpg-card.c (oChUid): New.
(opts): Add --chuid.
(changeuser): New helper var.
(main): Implement --chuid.
* tools/gpg-connect-agent.c (oChUid): New.
(opts): Add --chuid.
(main): Implement --chuid.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 14 2020, 12:19 PM
Parents
rG53d84f981570: gpg: Ignore personal_digest_prefs for ECDSA keys.
Branches
Unknown
Tags
Unknown