Clearing passwords in agent

Werner Koch wk at gnupg.org
Thu Apr 21 11:27:42 CEST 2005


On Wed, 20 Apr 2005 14:40:34 -0700 (PDT), Bluthgeld  said:

> 1. Is it possible to clear all passwords in agent
> regardless its ttl, without killing it? I mean
> something like "ssh-add -D"?

pkill -HUP gpg-agent

> 2. Is it possible to force agent to reload its
> configuration from file given primarily with
> --options?

Same as above.  However, not all options are reloaded.

      opt.quiet = 0;
      opt.verbose = 0;
      opt.debug = 0;
      opt.no_grab = 0;
      opt.pinentry_program = NULL;
      opt.scdaemon_program = NULL;
      opt.def_cache_ttl = DEFAULT_CACHE_TTL;
      opt.max_cache_ttl = MAX_CACHE_TTL;
      opt.ignore_cache_for_signing = 0;
      opt.allow_mark_trusted = 0;
      opt.disable_scdaemon = 0;

The above list shows the options which are changeable at runtime,
others are ignored.  The actual option names are similar to the above
variable names.  I'll add notes to the manual.


Salam-Shalom,

   Werner





More information about the Gnupg-users mailing list