diff options
Diffstat (limited to '')
-rw-r--r-- | g10/call-agent.c | 7 | ||||
-rw-r--r-- | g10/call-dirmngr.c | 8 | ||||
-rw-r--r-- | sm/call-agent.c | 7 | ||||
-rw-r--r-- | sm/call-dirmngr.c | 7 |
4 files changed, 29 insertions, 0 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c index 1ce6641af..545b2448a 100644 --- a/g10/call-agent.c +++ b/g10/call-agent.c @@ -209,6 +209,13 @@ warn_version_mismatch (assuan_context_t ctx, const char *servername, int mode) else { log_info (_("WARNING: %s\n"), warn); + if (!opt.quiet) + { + log_info (_("Note: Outdated servers may lack important" + " security fixes.\n")); + log_info (_("Note: Use the command \"%s\" to restart them.\n"), + "gpgconf --kill all"); + } write_status_strings (STATUS_WARNING, "server_version_mismatch 0", " ", warn, NULL); xfree (warn); diff --git a/g10/call-dirmngr.c b/g10/call-dirmngr.c index 9bae59f47..362731e5f 100644 --- a/g10/call-dirmngr.c +++ b/g10/call-dirmngr.c @@ -157,6 +157,14 @@ warn_version_mismatch (assuan_context_t ctx, const char *servername) else { log_info (_("WARNING: %s\n"), warn); + if (!opt.quiet) + { + log_info (_("Note: Outdated servers may lack important" + " security fixes.\n")); + log_info (_("Note: Use the command \"%s\" to restart them.\n"), + "gpgconf --kill all"); + } + write_status_strings (STATUS_WARNING, "server_version_mismatch 0", " ", warn, NULL); xfree (warn); diff --git a/sm/call-agent.c b/sm/call-agent.c index ba8fb122b..772c9c312 100644 --- a/sm/call-agent.c +++ b/sm/call-agent.c @@ -108,6 +108,13 @@ warn_version_mismatch (ctrl_t ctrl, assuan_context_t ctx, else { log_info (_("WARNING: %s\n"), warn); + if (!opt.quiet) + { + log_info (_("Note: Outdated servers may lack important" + " security fixes.\n")); + log_info (_("Note: Use the command \"%s\" to restart them.\n"), + "gpgconf --kill all"); + } gpgsm_status2 (ctrl, STATUS_WARNING, "server_version_mismatch 0", warn, NULL); xfree (warn); diff --git a/sm/call-dirmngr.c b/sm/call-dirmngr.c index 5ee15b777..930194076 100644 --- a/sm/call-dirmngr.c +++ b/sm/call-dirmngr.c @@ -175,6 +175,13 @@ warn_version_mismatch (ctrl_t ctrl, assuan_context_t ctx, else { log_info (_("WARNING: %s\n"), warn); + if (!opt.quiet) + { + log_info (_("Note: Outdated servers may lack important" + " security fixes.\n")); + log_info (_("Note: Use the command \"%s\" to restart them.\n"), + "gpgconf --kill all"); + } gpgsm_status2 (ctrl, STATUS_WARNING, "server_version_mismatch 0", warn, NULL); xfree (warn); |