mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* options.h, g10.c (main): Add new --default-sig-expire and
--default-cert-expire options. Suggested by Florian Weimer. * main.h, keygen.c (parse_expire_string, ask_expire_interval): Use defaults passed in, or "0" to control what default expiration is. * keyedit.c (sign_uids), sign.c (sign_file, clearsign_file, sign_symencrypt_file): Call them here, so that default expiration is used when --ask-xxxxx-expire is off.
This commit is contained in:
parent
cf7c0feca4
commit
c71639cfff
7 changed files with 128 additions and 47 deletions
|
@ -50,7 +50,9 @@ struct
|
|||
int list_only;
|
||||
int textmode;
|
||||
int expert;
|
||||
const char *def_sig_expire;
|
||||
int ask_sig_expire;
|
||||
const char *def_cert_expire;
|
||||
int ask_cert_expire;
|
||||
int batch; /* run in batch mode */
|
||||
int answer_yes; /* answer yes on most questions */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue