smart_proxy_remote_execution_ssh 1.0.2 → 1.0.3

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: 3c52e262769802ba7236ffa5735318502636db7b6e3b1aa95777c6538631987e
4
- data.tar.gz: ac198f44a8933215b0e4e552d8fa19c5ea9fa441aaf92613e541912dc56abaed
3
+ metadata.gz: 9c11ba1ba0190a527137e59e3a4beea4d273a312512e1bdda9f970aa28a14a35
4
+ data.tar.gz: '0083c234c6e3fa492900de27cc34c3e65b47174ad72af6bc4a6d16979c5843ab'
5
5
  SHA512:
6
- metadata.gz: 04eccbae6f9bef0cb192432d68e788fad4c8a08b27ae917434bd9941a24857d0adc412e28161edba835526ee5fca2254572a03ec955d09103f955f58e73d765b
7
- data.tar.gz: e9227de7f8ad2b7419184eac5c03c8710d0243aefea9a83e267fa07671bdacec5e03ee5162e65a48a93b3de21e123495e40e5f475781aa66e5f2e751ef818876
6
+ metadata.gz: a14026e7daaa782a3adcd5c5ea91db4ffc2223b81a63ade152e5b9e0d46c8020f4f8e88d2ce2827bfc60053b8d7059995370254120c25e0a1f30114c60aa1db0
7
+ data.tar.gz: e454cb0622f818cd60e159a72bcd2475aef9bb349b17bb2df20363d0779032891bf3b5c391de44ee8fd45fbc2772357bee923c26b93720fc2838488fe74adc6d
@@ -22,7 +22,8 @@ module Proxy::RemoteExecution::Ssh::Runners
22
22
  end
23
23
 
24
24
  def filter_password?(received_data)
25
- !@effective_user_password.empty? && @password_sent && received_data.match(Regexp.escape(@effective_user_password))
25
+ !@effective_user_password.empty? && @password_sent &&
26
+ received_data.b.match(Regexp.new(Regexp.escape(@effective_user_password).b))
26
27
  end
27
28
 
28
29
  def sent_all_data?
@@ -1,7 +1,7 @@
1
1
  module Proxy
2
2
  module RemoteExecution
3
3
  module Ssh
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.3'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_proxy_remote_execution_ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Nečas
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  - !ruby/object:Gem::Version
234
234
  version: '0'
235
235
  requirements: []
236
- rubygems_version: 4.0.3
236
+ rubygems_version: 4.0.10
237
237
  specification_version: 4
238
238
  summary: Ssh remote execution provider for Foreman Smart-Proxy
239
239
  test_files: []