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 43d9cdcc Oops, wrong check
43d9cdcc is described below
commit 43d9cdcc611e865feef8b9e50c6f133d83afc0be
Author: Sebb <[email protected]>
AuthorDate: Sun Aug 25 20:30:27 2024 +0100
Oops, wrong check
---
www/secretary/workbench/views/actions/check-signature.json.rb | 2 +-
1 file changed, 1 insertion(+), 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 8ddcbc3d..5d669be4 100644
--- a/www/secretary/workbench/views/actions/check-signature.json.rb
+++ b/www/secretary/workbench/views/actions/check-signature.json.rb
@@ -105,7 +105,7 @@ def validate_sig(attachment, signature, msgid)
'--batch', '--import', tmpfile
# For later analysis
Wunderbar.warn "#{gpg} --import #{tmpfile} rc=#{rc} out=#{out}
err=#{err}"
- if err.include?('imported: 1') or err.include?('processed: 1') #
downloaded key is valid; store it for posterity
+ if err.include?('imported: 1') or err.include?('unchanged: 1') #
downloaded key is valid; store it for posterity
Dir.mktmpdir do |tmpdir|
container = ASF::SVN.svnpath!('iclas', '__keys__')
ASF::SVN.svn!('checkout',[container, tmpdir], {depth: 'empty',
env: env})