Home GnuPG
Diffusion Scute d786c3834a1a

Add no-chain option.

Description

Add no-chain option.

This is the same patch as my previous one, but this one applies
cleanly to the t6002 branch, for convenience.

  • >8 --

Subject: [PATCH scute] Add option to return leaf certificate only.

  • src/options.h (_scute_opt_t): Add no_chain.
  • src/readconf.c (_scute_read_conf): Set no_chain.
  • src/agent.c (scute_gpgsm_get_cert): Ask for chain of certificates

depending on no_chain value.

The default behaviour of Scute of returning the full certificate
chain may cause various issues in client applications, some of
which seemingly only expect a single certificate. Thus we make
this behaviour configurable.

  • Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>

Details

Provenance
Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org>Authored on Sep 16 2022, 4:17 AM
wernerCommitted on Sep 16 2022, 9:11 AM
Parents
rSeb838bf345fe: Do not launch gpg-agent if no-autostart is active.
Branches
Unknown
Tags
Unknown
References
t6002

Event Timeline

werner committed rSd786c3834a1a: Add no-chain option. (authored by Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org>).Sep 16 2022, 9:11 AM