whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Change keyserver; add debug
Date Fri, 15 Feb 2019 10:12:42 GMT
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 f7d0f31  Change keyserver; add debug
f7d0f31 is described below

commit f7d0f31e1fea59f16fed2f6fdce2ca69e3b58ebc
Author: Sebb <sebb@apache.org>
AuthorDate: Fri Feb 15 10:12:34 2019 +0000

    Change keyserver; add debug
---
 www/secretary/workbench/views/actions/check-signature.json.rb | 9 +++++++--
 1 file changed, 7 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 505be1f..18854ac 100644
--- a/www/secretary/workbench/views/actions/check-signature.json.rb
+++ b/www/secretary/workbench/views/actions/check-signature.json.rb
@@ -4,6 +4,9 @@
 
 ENV['GNUPGHOME'] = GNUPGHOME if GNUPGHOME
 
+#KEYSERVER = 'pgpkeys.mit.edu'
+KEYSERVER = 'hkps.pool.sks-keyservers.net'
+
 message = Mailbox.find(@message)
 
 begin
@@ -28,9 +31,11 @@ begin
     # extract and fetch key
     keyid = err[/[RD]SA key (ID )?(\w+)/,2].untaint
 
-    out2, err2, rc2 = Open3.capture3 gpg, '--keyserver', 'pgpkeys.mit.edu',
-      '--keyserver-options', 'verbose',
+    out2, err2, rc2 = Open3.capture3 gpg, '--keyserver', KEYSERVER,
+      '--debug-all',
       '--recv-keys', keyid
+    # for later analysis
+    Wunderbar.warn "#{gpg} --recv-keys #{keyid} rc2=#{rc2} out2=#{out2} err2=#{err2}"
 
     # run gpg verify command again
     out, err, rc = Open3.capture3 gpg, '--verify', signature.path,


Mime
View raw message