Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Security::TrustDir#name_path
name_path(name)
lib/rubygems/security/trust_dir.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/security/trust_dir.rb, line 71
def name_path(name)
digest = @digester.hexdigest name.to_s
File.join @dir, "cert-#{digest}.pem"
end
Returns the path to the trusted certificate with the given ASN.1 name