commit 4e61e266076fbda20cbf268300e7f645669c7062
parent b298fadb216bfbac8c84e05363e508b3b3a314a5
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 27 Sep 2020 08:51:09 -0400
gmni: improve unknown trust message
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gmni.c b/src/gmni.c
@@ -84,7 +84,8 @@ tofu_callback(enum tofu_error error, const char *fingerprint,
fprintf(stderr,
"The certificate offered by this server is of unknown trust. "
"Its fingerprint is: \n"
- "%s\n\n", fingerprint);
+ "%s\n\n"
+ "Use -j trust to trust temporarily, or -j always to add to the trust store.\n", fingerprint);
break;
case TOFU_FINGERPRINT_MISMATCH:
fprintf(stderr,