ops_team 1.6.2 → 1.7.0

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: f67e2141a877059a5f5c36a913952ead6cfe24a6d83afbd172ffd58092467cf0
4
- data.tar.gz: 02ec6ba57e92ef51394b850cc6a26f57ded5fba599ef4bc8d36f94dded06cf37
3
+ metadata.gz: 1beb7681772838d8f1f89f711cd076aab4aecec1f8f3e4dace1c43d87d5f88ef
4
+ data.tar.gz: 4ee8749e3056a13cfed0d320c9b9a78f31bb60d8a94944767dcb5eecd90ccbe2
5
5
  SHA512:
6
- metadata.gz: aa335ff351f1b34f46c6c8e3f68bdda1b350acea9629cec15030d8f20c0ca38701d08fbbcbfa8fc97c31bfb49626a7c5b8a1d6e688470ce25d0a6232a80f654d
7
- data.tar.gz: 808475928c2577195d2fa480b03efa3022bf4c19afc6ad9afc41b84ec5a9a40614bad343bed1c1a10e4758ae83ec620648c437a675c1e92242a6ced7aece2c0c
6
+ metadata.gz: 7f3beb1a737c46482c320e83085aaf01a4f63535c51c63da8eaa348962f5ccb01855b2e6dc20b878a59ee9f6168a65cab78dca944cf6629fcf7a27ce354cb9f8
7
+ data.tar.gz: 58ec9d5e97b67b6a6189d42b0509b7e612bb40423fedf59ae17efac05472b217edfd52b764e6a8b60812d2a433c68aa72e5679cd6b710f5c9d1945c3d153ec85
@@ -6,7 +6,7 @@ require 'dependency'
6
6
 
7
7
  module Dependencies
8
8
  class Sshkey < Dependency
9
- DEFAULT_KEY_SIZE = 2048
9
+ DEFAULT_KEY_SIZE = 4096
10
10
  DEFAULT_KEY_ALGO = "rsa"
11
11
  DEFAULT_KEY_LIFETIME_S = 3600
12
12
  DEFAULT_KEY_FILE_COMMENT_COMMAND = "$USER@`hostname -s`"
@@ -83,7 +83,7 @@ module Dependencies
83
83
  end
84
84
 
85
85
  def opt_key_algo
86
- DEFAULT_KEY_ALGO
86
+ Options.get("sshkey.key_algo") || DEFAULT_KEY_ALGO
87
87
  end
88
88
 
89
89
  def passphrase
data/ops_team.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'ops_team'
5
- s.version = '1.6.2'
5
+ s.version = '1.7.0'
6
6
  s.authors = [
7
7
  'nickthecook@gmail.com'
8
8
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_team
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nickthecook@gmail.com