ruby/rubygems · error · Gem::Security::Exception
no digests provided (probable bug)
Error message
no digests provided (probable bug)
What it means
Error "no digests provided (probable bug)" thrown in ruby/rubygems.
Source
Thrown at lib/rubygems/security/policy.rb:230
# lack of signatures is irrelevant if there is nothing to check
# against
else
alert_warning "#{full_name} is not signed"
return
end
end
opt = @opt
digester = Gem::Security.create_digest
trust_dir = opt[:trust_dir]
time = Time.now
_, signer_digests = digests.find do |_algorithm, file_digests|
file_digests.values.first.name == Gem::Security::DIGEST_NAME
end
if @verify_data
raise Gem::Security::Exception, "no digests provided (probable bug)" if
signer_digests.nil? || signer_digests.empty?
else
signer_digests = {}
end
signer = chain.last
check_key signer, key if key
check_cert signer, nil, time if @verify_signer
check_chain chain, time if @verify_chain
check_root chain, time if @verify_root
if @only_trusted
check_trust chain, digester, trust_dir
elsif signatures.empty? && digests.empty?View on GitHub (pinned to 86cbb817a3)
Solutions
- This indicates a RubyGems bug; report it with the gem file at https://github.com/rubygems/rubygems/issues
When it happens
Trigger: Thrown at lib/rubygems/security/policy.rb:230 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruby/rubygems@86cbb817a3 (2026-08-23).
Data as JSON: /api/errors/e427c1a946f41a19.
Report an issue: GitHub.