spaceship/lib/spaceship/connect_api/models/certificate.rb in fastlane-2.219.0 vs spaceship/lib/spaceship/connect_api/models/certificate.rb in fastlane-2.220.0

- old
+ new

@@ -53,11 +53,11 @@ def valid? Time.parse(expiration_date) > Time.now end - # Create a new code signing request that can be used to + # Create a new cert signing request that can be used to # generate a new certificate # @example # Create a new certificate signing request # csr, pkey = Spaceship.certificate.create_certificate_signing_request # @@ -69,10 +69,10 @@ csr.version = 0 csr.subject = OpenSSL::X509::Name.new([ ['CN', 'PEM', OpenSSL::ASN1::UTF8STRING] ]) csr.public_key = key.public_key - csr.sign(key, OpenSSL::Digest::SHA1.new) + csr.sign(key, OpenSSL::Digest::SHA256.new) return [csr, key] end # # API