net-ssh-backports 6.3.4.backports → 6.3.5.backports

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4b789946bcf65642f7c7bfcfca48f1a01900826fc934d30a3e5626f67d484d6
4
- data.tar.gz: 8f7282bb62e397fe3bc348a04936c8384481fba3fbd3378983402fee654aa14e
3
+ metadata.gz: 8f0926227faa7f95554bb3b35498266161a625e5419da811c2f3b28cf031bac5
4
+ data.tar.gz: f84f8c5d5801318f6b9a906fb49f0d6d5b0f9d99524103ad496a9d4029059f2d
5
5
  SHA512:
6
- metadata.gz: 8eee9be83f4313adb451351c7b353f163c635d837e2f327ca400647317a3d3d5b2a1f76ddb123718c8fba029e1f5a196ee93dfd7aef23ba8e11ed8e159d5e4b9
7
- data.tar.gz: 67af2e5b3f775c55686ca7ed8aa353a1df2a01b1ce29c1ae5dc87a046a9d45d8f977a5d884333607d30b0da09228fc629c8c1d2d677e008085aeea9dfa37e074
6
+ metadata.gz: ece9f000d7d5073c457c88a535b19d580c7343e415ab092ba3bbe4155b29aef96e30da80bcd1609e4bfa45deafebe9ffffb602965c709ee546ddbe8e54bf924a
7
+ data.tar.gz: 6e288d23a6ef7c63b404eb03761b301e734eade713238b4bf09474330e91d3d257083b90fa64a33f4b482030ca8372211154fc17f9afa320c9f72680fb7cd2c2
@@ -55,21 +55,21 @@ module Net
55
55
  # service request. Returns true if an authentication method succeeds in
56
56
  # authenticating the user, and false otherwise.
57
57
  def authenticate(next_service, username, password=nil)
58
- begin
59
- debug { "beginning authentication of `#{username}'" }
58
+ debug { "beginning authentication of `#{username}'" }
60
59
 
61
- transport.send_message(transport.service_request("ssh-userauth"))
62
- expect_message(SERVICE_ACCEPT)
60
+ transport.send_message(transport.service_request("ssh-userauth"))
61
+ expect_message(SERVICE_ACCEPT)
63
62
 
64
- key_manager = KeyManager.new(logger, options)
65
- keys.each { |key| key_manager.add(key) } unless keys.empty?
66
- keycerts.each { |keycert| key_manager.add_keycert(keycert) } unless keycerts.empty?
67
- key_data.each { |key2| key_manager.add_key_data(key2) } unless key_data.empty?
68
- default_keys.each { |key| key_manager.add(key) } unless options.key?(:keys) || options.key?(:key_data)
63
+ key_manager = KeyManager.new(logger, options)
64
+ keys.each { |key| key_manager.add(key) } unless keys.empty?
65
+ keycerts.each { |keycert| key_manager.add_keycert(keycert) } unless keycerts.empty?
66
+ key_data.each { |key2| key_manager.add_key_data(key2) } unless key_data.empty?
67
+ default_keys.each { |key| key_manager.add(key) } unless options.key?(:keys) || options.key?(:key_data)
69
68
 
70
- attempted = []
69
+ attempted = []
71
70
 
72
- @auth_methods.each do |name|
71
+ @auth_methods.each do |name|
72
+ begin
73
73
  next unless @allowed_auth_methods.include?(name)
74
74
 
75
75
  attempted << name
@@ -52,7 +52,7 @@ module Net
52
52
  MINOR = 3
53
53
 
54
54
  # The tiny component of this version of the Net::SSH library
55
- TINY = 4
55
+ TINY = 5
56
56
 
57
57
  # The prerelease component of this version of the Net::SSH library
58
58
  # nil allowed
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-ssh-backports
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.4.backports
4
+ version: 6.3.5.backports
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck