This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit ed84d53349bb22ae3bca1fde8b02fa87de9e0473
Author: Sam Ruby <[email protected]>
AuthorDate: Fri Nov 17 20:44:19 2017 -0500

    handle another PGP error message format
---
 www/secretary/workbench/views/actions/check-signature.json.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/secretary/workbench/views/actions/check-signature.json.rb 
b/www/secretary/workbench/views/actions/check-signature.json.rb
index 4635363..010de36 100644
--- a/www/secretary/workbench/views/actions/check-signature.json.rb
+++ b/www/secretary/workbench/views/actions/check-signature.json.rb
@@ -26,7 +26,8 @@ begin
     err.include? "gpg: Can't check signature: public key not found"
   then
     # extract and fetch key
-    keyid = err[/[RD]SA key ID (\w+)/,1].untaint
+    keyid = err[/[RD]SA key (ID )?(\w+)/,2].untaint
+
     out2, err2, rc2 = Open3.capture3 gpg, '--keyserver', 'pgpkeys.mit.edu',
       '--recv-keys', keyid
 

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to