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 82ba2351 Drop old comments
82ba2351 is described below

commit 82ba23511f95117545e662552a3ea1b4b50917a9
Author: Sebb <s...@apache.org>
AuthorDate: Sun Feb 11 14:13:37 2024 +0000

    Drop old comments
---
 .../workbench/views/actions/check-signature.json.rb      | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/www/secretary/workbench/views/actions/check-signature.json.rb 
b/www/secretary/workbench/views/actions/check-signature.json.rb
index d365d576..41437df2 100644
--- a/www/secretary/workbench/views/actions/check-signature.json.rb
+++ b/www/secretary/workbench/views/actions/check-signature.json.rb
@@ -99,20 +99,7 @@ begin
 
     out2 = err2 = '' # needed later
 
-    #+++ TEMPORARY HACK (WHIMSY-275)
-
-#    KEYSERVERS.each do |server|
-#      out2, err2, rc2 = Open3.capture3 gpg, '--keyserver', server,
-#        '--debug', 'ipc', # seems to show communication with dirmngr
-#        '--recv-keys', keyid
-#      # for later analysis
-#      Wunderbar.warn "#{gpg} --keyserver #{server} --recv-keys #{keyid} 
rc2=#{rc2} out2=#{out2} err2=#{err2}"
-#      if rc2.exitstatus == 0 # Found the key
-#        out2 = err2 = '' # Don't add download error to verify error
-#        break
-#      end
-#    end
-
+    # Try to fetch the key
     KEYSERVERS.each do |server|
       found = false
       Dir.mktmpdir do |dir|
@@ -132,7 +119,6 @@ begin
       end
       break if found
     end
-    #--- TEMPORARY HACK (WHIMSY-275)
 
     # run gpg verify command again
     # TODO: may need to drop the keyid-format parameter when gpg is updated as 
it might

Reply via email to