Permalink
Browse files

Added GPG Agent config file option

  • Loading branch information...
akerl committed Dec 6, 2012
1 parent 4add47f commit 8ee19313e08435aaa338f4a019283d0d44260022
Showing with 6 additions and 0 deletions.
  1. +6 −0 client/config_init.c
View
@@ -321,6 +321,12 @@ parse_rc_param(fko_cli_options_t *options, const char *var, char * val)
if(val[0] == 'y' || val[0] == 'Y')
options->use_gpg = 1;
}
+ /* Use GPG Agent ? */
+ else if(CONF_VAR_IS(var, "USE_GPG_AGENT"))
+ {
+ if(val[0] == 'y' || val[0] == 'Y')
+ options->use_gpg_agent = 1;
+ }
/* GPG Recipient */
else if(CONF_VAR_IS(var, "GPG_RECIPIENT"))
{

0 comments on commit 8ee1931

Please sign in to comment.