Home GnuPG
Diffusion GnuPG 2c9c46e2a2b8

gpgsm: Add command option "offline".
2c9c46e2a2b8Unpublished

Unpublished Commit · Learn More

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

Description

gpgsm: Add command option "offline".

* sm/server.c (option_handler): Add "offline".
(cmd_getinfo): Ditto.
* sm/certchain.c (is_cert_still_valid):
(do_validate_chain):
* sm/gpgsm.c (gpgsm_init_default_ctrl): Default "offline" to the value
of --disable-dirmngr.
* sm/call-dirmngr.c (start_dirmngr_ext): Better also check for
ctrl->offline.

Adding this option makes it easier to implement the corresponding
feature in gpgme.

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

Details

Provenance
wernerAuthored on Jun 29 2015, 11:03 AM
Parents
rGd2fdf2e1b6cd: scd: Support button flag and AES key data for OpenPGPcard v3.0.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG2c9c46e2a2b8: gpgsm: Add command option "offline". (authored by Werner Koch <wk@gnupg.org>).Jun 29 2015, 11:06 AM