This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 03e6939 Longer keyid format
03e6939 is described below
commit 03e693918ec1b8d4ba5b96eb0c9fecdb104a09be
Author: Sebb <[email protected]>
AuthorDate: Mon Apr 29 22:13:58 2019 +0100
Longer keyid format
---
www/secretary/workbench/views/actions/check-signature.json.rb | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/www/secretary/workbench/views/actions/check-signature.json.rb
b/www/secretary/workbench/views/actions/check-signature.json.rb
index a84166d..20fb9fe 100644
--- a/www/secretary/workbench/views/actions/check-signature.json.rb
+++ b/www/secretary/workbench/views/actions/check-signature.json.rb
@@ -21,8 +21,11 @@ begin
gpg.untaint
# run gpg verify command
- out, err, rc = Open3.capture3 gpg, '--verify', signature.path,
- attachment.path
+ # TODO: may need to drop the keyid-format parameter when gpg is updated as
it might
+ # reduce the keyid length from the full fingerprint
+ out, err, rc = Open3.capture3 gpg,
+ '--keyid-format', 'long', # Show a longer id
+ '--verify', signature.path, attachment.path
# if key is not found, fetch and try again
if