End of Life Ruby 3.2 has reached end of life and gets no more fixes. 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.2.0/lib/rubygems/security/trust_dir.rb, line 72
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