net-ssh 7.3.1 → 7.3.2.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38715c53cf88d61b666c151285cb40cfb5e3b05175602a2a9f339604ac7e6474
4
- data.tar.gz: 2adc45a83f3dee286110e8738d01bd7ced605f84abf101ff37112642ba825480
3
+ metadata.gz: 9bb6ed808781b2335aac518def42df92fc4f441d4863970b228d98bf13db1e07
4
+ data.tar.gz: a6750bf0379cc1c0e5864b80e209a78fad105ee35e2a5fa8299245f81581b090
5
5
  SHA512:
6
- metadata.gz: 5c3e9fb6dca3571f89ddd77e350a8de6e79e6982e30551e9c327c33df7cd7d7ab32525f9aeeb99c6b64dd7668a4fbc582af068595162147586ceeea362922b3d
7
- data.tar.gz: d6ab78c1133102192222b06b690410fcaaadf17fb6881d0f220d2e30feb61c73f9e812a453a7171bc846dcdd591e86c57d8032c68edb69fe18dbf8525446d1fc
6
+ metadata.gz: 4cb354279823cb355e9b3480a7107df936a9f45d28f6fa19afc739fa93bec57706698e9ff8960b2f84571bee59b77d8e78660c9bad0a302e18dedbd4832b722f
7
+ data.tar.gz: ffaf5165d6f414643cab0234acd6a8cc478c9df8b67569755d3be48b943474152a993f447a7acc515ed2bc06afc2d33b2819ea5eeefd50c01b467f8ad18d53ac
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1 @@
1
- ����t9eF
2
- �z�V�5����Kj�'���cR�����Sμ�(g������k�S����)���(�,-o�����)�I}t��Y����%�
3
- +��33�}�����>��ҷkfK�GQ�9EJ|�H��x�َd��ٵ1������f��^� �u�SL��BR�`]��s_� G��ר~z�R���}�W��(�Oõ��y�ji|LA��@Z���1m�`
1
+ ��=�Q��%��. ׿~M<��©`Zs._�k�&2 ?�W6MרT���q����6n�j��㨏������ߙ��jD��n��Ӟ�h�g)@&,Oi��8��D�4�غ�{h2/�� �w�� ����Vn�w5�鞉�U`u��{��-��5�DS}�ս#�XTE͂��af�������Nh9���Qfq��L<^�+t�|� �xZl C~p_X� ��I&����cK����_����XQ&V��L�T�o=x��_ʉU
@@ -42,8 +42,8 @@ jobs:
42
42
  gem install bundler ${{ (startsWith(matrix.ruby-version, '2.6.') || startsWith(matrix.ruby-version, '2.7.')) && '-v 2.4.22' || '' }}
43
43
  bundle config set path 'vendor/bundle'
44
44
  bundle config set --local path 'vendor/bundle'
45
- bundle install --jobs 4 --retry 3 --path vendor/bundle
46
- BUNDLE_GEMFILE=./Gemfile.noed25519 bundle install --jobs 4 --retry 3 --path vendor/bundle
45
+ bundle install --jobs 4 --retry 3
46
+ BUNDLE_GEMFILE=./Gemfile.noed25519 bundle install --jobs 4 --retry 3
47
47
  env:
48
48
  BUNDLE_PATH: vendor/bundle
49
49
 
data/CHANGES.txt CHANGED
@@ -1,3 +1,12 @@
1
+ === 7.3.2 rc2
2
+
3
+ * Fix Ruby 2.6 compat: use public_to_der fallback for EC public keys [#993]
4
+ * Fix test framework hang: preserve StringIO position in idle!
5
+
6
+ === 7.3.2 rc1
7
+
8
+ * Support frozen strings [#958]
9
+
1
10
  === 7.3.0 rc0
2
11
 
3
12
  * aes(128|256)gcm [#946]
data/Dockerfile.zlib_ng CHANGED
@@ -2,7 +2,17 @@ FROM fedora:latest
2
2
 
3
3
  ENV INSTALL_PATH="/netssh"
4
4
 
5
- RUN dnf install -y openssl ruby ruby-devel git make gcc zlib-ng
5
+ # Fedora's OpenSSL 3.x blocks SHA-1 for RSA/DSA signing by default.
6
+ # - LEGACY crypto policy relaxes the system-wide restrictions.
7
+ # - OPENSSL_CONF points to our config which activates the legacy provider,
8
+ # sets SECLEVEL=0, and sets rh-allow-sha1-signatures=yes (Fedora/RHEL
9
+ # OpenSSL patch that gates SHA-1 signing independently of the policy level).
10
+ # OPENSSL_CONF must be set as a Docker ENV so it is in the environment before
11
+ # Ruby/OpenSSL initialises — setting it in the Rakefile is too late.
12
+ ENV OPENSSL_CONF="/netssh/test/openssl3.conf"
13
+
14
+ RUN dnf install -y openssl ruby ruby-devel git make gcc zlib-ng crypto-policies-scripts && \
15
+ update-crypto-policies --set LEGACY
6
16
 
7
17
  WORKDIR $INSTALL_PATH
8
18
 
@@ -57,8 +57,9 @@ module Net
57
57
  return false unless script.next(:first)
58
58
 
59
59
  if script.next(:first).remote?
60
+ current_pos = pos
60
61
  self.string = "#{self.string}#{script.next}"
61
- self.pos = pos
62
+ self.pos = current_pos
62
63
  end
63
64
 
64
65
  return true
@@ -52,11 +52,11 @@ module Net
52
52
  MINOR = 3
53
53
 
54
54
  # The tiny component of this version of the Net::SSH library
55
- TINY = 1
55
+ TINY = 2
56
56
 
57
57
  # The prerelease component of this version of the Net::SSH library
58
58
  # nil allowed
59
- PRE = nil
59
+ PRE = "rc1"
60
60
 
61
61
  # The current version of the Net::SSH library as a Version instance
62
62
  CURRENT = new(*[MAJOR, MINOR, TINY, PRE].compact)
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.1
4
+ version: 7.3.2.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -32,7 +32,7 @@ cert_chain:
32
32
  ufHf4AX2UIkJbh7zCPkiNCqIr7MSWLNFG/9lOlHYsEJM8XujT1ofPobYx6YSFx/C
33
33
  7HBrI7UX7awt6UvBZebhcHzyMHxg/B5PVQllPA==
34
34
  -----END CERTIFICATE-----
35
- date: 2026-03-14 00:00:00.000000000 Z
35
+ date: 2026-03-15 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: bcrypt_pbkdf
@@ -341,9 +341,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
341
341
  version: '2.6'
342
342
  required_rubygems_version: !ruby/object:Gem::Requirement
343
343
  requirements:
344
- - - ">="
344
+ - - ">"
345
345
  - !ruby/object:Gem::Version
346
- version: '0'
346
+ version: 1.3.1
347
347
  requirements: []
348
348
  rubygems_version: 3.3.3
349
349
  signing_key:
metadata.gz.sig CHANGED
Binary file