Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions lib/sigstore/verifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,12 @@ def verify(input:, policy:, offline:)
end
end

Internal::SET.verify_set(keyring: @rekor_keyring, entry:) if entry.inclusion_promise
if entry.inclusion_promise
Internal::SET.verify_set(keyring: @rekor_keyring, entry:)
timestamps << Time.at(entry.integrated_time).utc
end

timestamps << Time.at(entry.integrated_time).utc
return VerificationFailure.new("No verified timestamp") if timestamps.empty?

# 3)
# The Verifier MUST perform certification path validation (RFC 5280 §6) of the certificate chain with the
Expand Down
Loading