diff options
author | Anders Carling <lowe@lowe.nu> | 2019-10-31 03:05:10 +0100 |
---|---|---|
committer | Anders Carling <lowe@lowe.nu> | 2019-10-31 03:05:10 +0100 |
commit | b953838c934efe79a7e0b1f27dcec98307e54efa (patch) | |
tree | ec9c28fde65eee415f6e019b43f34d0c033bfb7f | |
parent | 13cc8ba6d8255ccc18e66da8ee801cd3b7f160f3 (diff) | |
download | net-ssh-b953838c934efe79a7e0b1f27dcec98307e54efa.tar.gz |
Fix rubocop complaints
-rw-r--r-- | lib/net/ssh/authentication/key_manager.rb | 1 | ||||
-rw-r--r-- | test/authentication/test_key_manager.rb | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/net/ssh/authentication/key_manager.rb b/lib/net/ssh/authentication/key_manager.rb index f22ba88..242d5d5 100644 --- a/lib/net/ssh/authentication/key_manager.rb +++ b/lib/net/ssh/authentication/key_manager.rb @@ -132,7 +132,6 @@ module Net yield key end - known_identity_blobs = known_identities.keys.map(&:to_blob) keycert_files.each do |keycert_file| keycert = KeyFactory.load_public_key(keycert_file) diff --git a/test/authentication/test_key_manager.rb b/test/authentication/test_key_manager.rb index 98fe675..c40779f 100644 --- a/test/authentication/test_key_manager.rb +++ b/test/authentication/test_key_manager.rb @@ -311,7 +311,7 @@ module Authentication cert.key = rsa_pk cert.serial = 1 cert.key_id = "test key" - cert.valid_principals = %w{test user} + cert.valid_principals = %w[test user] cert.valid_before = Time.now - 86400 cert.valid_after = Time.now + 86400 cert.critical_options = {} |