commit rubygem-net-ssh for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-net-ssh for openSUSE:Factory checked in at 2024-06-24 20:51:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-net-ssh (Old) and /work/SRC/openSUSE:Factory/.rubygem-net-ssh.new.18349 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-net-ssh" Mon Jun 24 20:51:16 2024 rev:38 rq:1182814 version:7.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-net-ssh/rubygem-net-ssh.changes 2024-02-27 22:45:18.339918312 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-net-ssh.new.18349/rubygem-net-ssh.changes 2024-06-24 20:52:15.398035347 +0200 @@ -1,0 +2,8 @@ +Fri Jun 21 10:18:36 UTC 2024 - Dan Čermák <dan.cermak@posteo.net> + +- === 7.2.2 + + * ruby 3.3.0: base64 fix + + +------------------------------------------------------------------- Old: ---- net-ssh-7.2.1.gem New: ---- net-ssh-7.2.3.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-net-ssh.spec ++++++ --- /var/tmp/diff_new_pack.szyU7S/_old 2024-06-24 20:52:15.902053771 +0200 +++ /var/tmp/diff_new_pack.szyU7S/_new 2024-06-24 20:52:15.902053771 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-net-ssh -Version: 7.2.1 +Version: 7.2.3 Release: 0 %define mod_name net-ssh %define mod_full_name %{mod_name}-%{version} ++++++ net-ssh-7.2.1.gem -> net-ssh-7.2.3.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.github/workflows/ci.yml new/.github/workflows/ci.yml --- old/.github/workflows/ci.yml 2023-12-19 19:42:26.000000000 +0100 +++ new/.github/workflows/ci.yml 2024-04-02 07:46:59.000000000 +0200 @@ -7,7 +7,7 @@ runs-on: ubuntu-22.04 strategy: matrix: - ruby-version: [2.6.10, 2.7.7, 3.0.6, 3.1.3, 3.2.1, '3.3.0-rc1'] + ruby-version: [2.6.10, 2.7.7, 3.0.6, 3.1.3, 3.2.1, 3.3.0] steps: - uses: actions/checkout@v3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGES.txt new/CHANGES.txt --- old/CHANGES.txt 2023-12-19 19:42:26.000000000 +0100 +++ new/CHANGES.txt 2024-04-02 07:46:59.000000000 +0200 @@ -1,3 +1,7 @@ +=== 7.2.2 + + * ruby 3.3.0: base64 fix + === 7.2.1 rc1 * feat: allow load of certkey from string [#926] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2023-12-19 19:42:26.000000000 +0100 +++ new/README.md 2024-04-02 07:46:59.000000000 +0200 @@ -248,6 +248,8 @@ gem cert --add net-ssh-public_cert.pem ``` +or `rake cert:update_public_when_expired` + ## Security contact information See [SECURITY.md](SECURITY.md) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile 2023-12-19 19:42:26.000000000 +0100 +++ new/Rakefile 2024-04-02 07:46:59.000000000 +0200 @@ -61,7 +61,7 @@ pre = Net::SSH::Version::PRE tiny = Net::SSH::Version::TINY result = block[pre: pre, tiny: Net::SSH::Version::TINY] - raise "Version change logic should always return a pre", ArgumentError unless result.key?(:pre) + raise ArgumentError, "Version change logic should always return a pre" unless result.key?(:pre) new_pre = result[:pre] new_tiny = result[:tiny] || tiny @@ -112,9 +112,13 @@ task :final do change_version do |pre:, tiny:| _ = tiny - raise ArgumentError, "Unexpected pre: #{pre}" if pre.nil? + if pre.nil? + { tiny: tiny + 1, pre: nil } + else + raise ArgumentError, "Unexpected pre: #{pre}" if pre.nil? - { pre: nil } + { pre: nil } + end end end Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ Binary files old/data.tar.gz.sig and new/data.tar.gz.sig differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/net/ssh/authentication/ed25519.rb new/lib/net/ssh/authentication/ed25519.rb --- old/lib/net/ssh/authentication/ed25519.rb 2023-12-19 19:42:26.000000000 +0100 +++ new/lib/net/ssh/authentication/ed25519.rb 2024-04-02 07:46:59.000000000 +0200 @@ -3,8 +3,6 @@ require 'ed25519' -require 'base64' - require 'net/ssh/transport/cipher_factory' require 'net/ssh/authentication/pub_key_fingerprint' require 'bcrypt_pbkdf' unless RUBY_PLATFORM == "java" @@ -46,7 +44,7 @@ raise ArgumentError.new("Expected #{MEND} at end of private key") unless datafull.end_with?(MEND) datab64 = datafull[MBEGIN.size...-MEND.size] - data = Base64.decode64(datab64) + data = datab64.unpack1("m") raise ArgumentError.new("Expected #{MAGIC} at start of decoded private key") unless data.start_with?(MAGIC) buffer = Net::SSH::Buffer.new(data[MAGIC.size + 1..-1]) @@ -134,7 +132,7 @@ def to_pem # TODO this is not pem - ssh_type + Base64.encode64(@verify_key.to_bytes) + ssh_type + [@verify_key.to_bytes].pack("m") end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/net/ssh/authentication/pub_key_fingerprint.rb new/lib/net/ssh/authentication/pub_key_fingerprint.rb --- old/lib/net/ssh/authentication/pub_key_fingerprint.rb 2023-12-19 19:42:26.000000000 +0100 +++ new/lib/net/ssh/authentication/pub_key_fingerprint.rb 2024-04-02 07:46:59.000000000 +0200 @@ -32,7 +32,7 @@ when 'MD5' OpenSSL::Digest.hexdigest(algorithm, blob).scan(/../).join(":") when 'SHA256' - "SHA256:#{Base64.encode64(OpenSSL::Digest.digest(algorithm, blob)).chomp.gsub(/=+\z/, '')}" + "SHA256:#{[OpenSSL::Digest.digest(algorithm, blob)].pack('m').chomp.gsub(/=+\z/, '')}" else raise OpenSSL::Digest::DigestError, "unsupported ssh key digest #{algorithm}" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/net/ssh/known_hosts.rb new/lib/net/ssh/known_hosts.rb --- old/lib/net/ssh/known_hosts.rb 2023-12-19 19:42:26.000000000 +0100 +++ new/lib/net/ssh/known_hosts.rb 2024-04-02 07:46:59.000000000 +0200 @@ -1,6 +1,5 @@ require 'strscan' require 'openssl' -require 'base64' require 'delegate' require 'net/ssh/buffer' require 'net/ssh/authentication/ed25519_loader' @@ -241,11 +240,11 @@ def known_host_hash?(hostlist, entries) if hostlist.size == 1 && hostlist.first =~ /\A\|1(\|.+){2}\z/ chunks = hostlist.first.split(/\|/) - salt = Base64.decode64(chunks[2]) + salt = chunks[2].unpack1("m") digest = OpenSSL::Digest.new('sha1') entries.each do |entry| hmac = OpenSSL::HMAC.digest(digest, salt, entry) - return true if Base64.encode64(hmac).chomp == chunks[3] + return true if [hmac].pack("m").chomp == chunks[3] end end false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/net/ssh/version.rb new/lib/net/ssh/version.rb --- old/lib/net/ssh/version.rb 2023-12-19 19:42:26.000000000 +0100 +++ new/lib/net/ssh/version.rb 2024-04-02 07:46:59.000000000 +0200 @@ -52,7 +52,7 @@ MINOR = 2 # The tiny component of this version of the Net::SSH library - TINY = 1 + TINY = 3 # The prerelease component of this version of the Net::SSH library # nil allowed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2023-12-19 19:42:26.000000000 +0100 +++ new/metadata 2024-04-02 07:46:59.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: net-ssh version: !ruby/object:Gem::Version - version: 7.2.1 + version: 7.2.3 platform: ruby authors: - Jamis Buck @@ -12,26 +12,27 @@ cert_chain: - | -----BEGIN CERTIFICATE----- - MIIDQDCCAiigAwIBAgIBATANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpuZXRz - c2gvREM9c29sdXRpb3VzL0RDPWNvbTAeFw0yMzAxMjQwMzE3NTVaFw0yNDAxMjQw - MzE3NTVaMCUxIzAhBgNVBAMMGm5ldHNzaC9EQz1zb2x1dGlvdXMvREM9Y29tMIIB - IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxieE22fR/qmdPKUHyYTyUx2g - wskLwrCkxay+Tvc97ZZUOwf85LDDDPqhQaTWLvRwnIOMgQE2nBPzwalVclK6a+pW - x/18KDeZY15vm3Qn5p42b0wi9hUxOqPm3J2hdCLCcgtENgdX21nVzejn39WVqFJO - lntgSDNW5+kCS8QaRsmIbzj17GKKkrsw39kiQw7FhWfJFeTjddzoZiWwc59KA/Bx - fBbmDnsMLAtAtauMOxORrbx3EOY7sHku/kSrMg3FXFay7jc6BkbbUij+MjJ/k82l - 4o8o0YO4BAnya90xgEmgOG0LCCxRhuXQFnMDuDjK2XnUe0h4/6NCn94C+z9GsQID - AQABo3sweTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUBfKiwO2e - M4NEiRrVG793qEPLYyMwHwYDVR0RBBgwFoEUbmV0c3NoQHNvbHV0aW91cy5jb20w - HwYDVR0SBBgwFoEUbmV0c3NoQHNvbHV0aW91cy5jb20wDQYJKoZIhvcNAQELBQAD - ggEBAHyOSaOUji+EJFWZ46g+2EZ/kG7EFloFtIQUz8jDJIWGE+3NV5po1M0Z6EqH - XmG3BtMLfgOV9NwMQRqIdKnZDfKsqM/FOu+9IqrP+OieAde5OrXR2pzQls60Xft7 - 3qNVaQS99woQRqiUiDQQ7WagOYrZjuVANqTDNt4myzGSjS5sHcKlz3PRn0LJRMe5 - ouuLwQ7BCXityv5RRXex2ibCOyY7pB5ris6xDnPe1WdlyCfUf1Fb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PpNDfQo+UvY3+mlxRs96ttWiUGwz27fy82rx1B + ZnfKjsWOntemNON6asOD0mtv0xsNBfOB2VNIKW/uqHsiPpa0OaVy5uENhX+5OFan + 2P1Uy+WcMiv38RlRkn4cdEIZUFupDgKFsguYlaJy473/wsae4exUgc5bvi3Splob + 1uE/LmB/qWBVSNW8e9KDtJynhDDZBlpESyQHFQCZj6UapzxlnC46LaDncPoAtJPc + MlWxJ8mKghIcyXc5y4cSyGypNG5BralqnvQUyg== -----END CERTIFICATE----- -date: 2023-12-19 00:00:00.000000000 Z +date: 2024-04-02 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: bcrypt_pbkdf @@ -90,6 +91,20 @@ - !ruby/object:Gem::Version version: '7.1' - !ruby/object:Gem::Dependency + name: base64 + requirement: !ruby/object:Gem::Requirement + requirements: + - - ">=" + - !ruby/object:Gem::Version + version: '0' + type: :development + prerelease: false + version_requirements: !ruby/object:Gem::Requirement + requirements: + - - ">=" + - !ruby/object:Gem::Version + version: '0' +- !ruby/object:Gem::Dependency name: bundler requirement: !ruby/object:Gem::Requirement requirements: Binary files old/metadata.gz.sig and new/metadata.gz.sig differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/net-ssh-public_cert.pem new/net-ssh-public_cert.pem --- old/net-ssh-public_cert.pem 2023-12-19 19:42:26.000000000 +0100 +++ new/net-ssh-public_cert.pem 2024-04-02 07:46:59.000000000 +0200 @@ -1,20 +1,21 @@ -----BEGIN CERTIFICATE----- -MIIDQDCCAiigAwIBAgIBATANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpuZXRz -c2gvREM9c29sdXRpb3VzL0RDPWNvbTAeFw0yMzAxMjQwMzE3NTVaFw0yNDAxMjQw -MzE3NTVaMCUxIzAhBgNVBAMMGm5ldHNzaC9EQz1zb2x1dGlvdXMvREM9Y29tMIIB -IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxieE22fR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cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/net-ssh.gemspec new/net-ssh.gemspec --- old/net-ssh.gemspec 2023-12-19 19:42:26.000000000 +0100 +++ new/net-ssh.gemspec 2024-04-02 07:46:59.000000000 +0200 @@ -38,6 +38,7 @@ spec.add_development_dependency('rbnacl', '~> 7.1') unless ENV['NET_SSH_NO_RBNACL'] + spec.add_development_dependency "base64" spec.add_development_dependency "bundler", ">= 1.17" spec.add_development_dependency "minitest", "~> 5.19" spec.add_development_dependency "mocha", "~> 2.1.0"
participants (1)
-
Source-Sync