diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-12-30 18:41:01 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-12-30 18:41:01 +0530 |
commit | 1a56879bb29e307bd6b00e250e67597235fa0adf (patch) | |
tree | 6df9e51f5f6a656344929a5f18d5052e3842cd17 | |
parent | 5953250459588336333998bfc6d50f97fadb8870 (diff) |
pass_util/add: better error messages
-rw-r--r-- | pass_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pass_util.c b/pass_util.c index e366cde..7147681 100644 --- a/pass_util.c +++ b/pass_util.c @@ -149,7 +149,7 @@ int pass_add(const char *path, const char *pass, size_t n) r = gpg_key_validate(fpr); if (r) - err_die(1, "key not usable, try gpg --list-keys"); + err_die(1, "invalid key , try gpg --list-keys"); r = snprintf(pass_path, sizeof(pass_path), "%s/%s.gpg", pass_dir, path); if (r > (int) sizeof(gpg_id_path)) |