Skip to content
This repository
Browse code

dcp_inspect: Signature error messages formatting

  • Loading branch information...
commit eaf3b8b530d804dc0f5d3ed142477f526cf9cd1d 1 parent 1b96561
Wolfgang Woehl authored

Showing 1 changed file with 1 addition and 3 deletions. Show diff stats Hide diff stats

  1. +1 3 dcp_inspect
4 dcp_inspect
@@ -1718,9 +1718,7 @@ def errors_signature_verification( errors, signature_result, asset, file )
1718 1718 errors << "Signature: #{ asset }: #{ file }: #{ signature_result.crypto.errors[ :context ].inspect }"
1719 1719 end
1720 1720 else
1721   - signature_result.messages.each do |message|
1722   - errors << "Signature: #{ asset }: #{ file }: #{ message }"
1723   - end
  1721 + errors << "Signature verification failure: #{ asset }: #{ file }:\n\t#{ signature_result.messages.join( "\n\t" ) }"
1724 1722 end
1725 1723 return errors
1726 1724 end

0 comments on commit eaf3b8b

Please sign in to comment.
Something went wrong with that request. Please try again.