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 +4 -4
- data/lib/dependencies/sshkey.rb +2 -2
- data/ops_team.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1beb7681772838d8f1f89f711cd076aab4aecec1f8f3e4dace1c43d87d5f88ef
|
4
|
+
data.tar.gz: 4ee8749e3056a13cfed0d320c9b9a78f31bb60d8a94944767dcb5eecd90ccbe2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f3beb1a737c46482c320e83085aaf01a4f63535c51c63da8eaa348962f5ccb01855b2e6dc20b878a59ee9f6168a65cab78dca944cf6629fcf7a27ce354cb9f8
|
7
|
+
data.tar.gz: 58ec9d5e97b67b6a6189d42b0509b7e612bb40423fedf59ae17efac05472b217edfd52b764e6a8b60812d2a433c68aa72e5679cd6b710f5c9d1945c3d153ec85
|
data/lib/dependencies/sshkey.rb
CHANGED
@@ -6,7 +6,7 @@ require 'dependency'
|
|
6
6
|
|
7
7
|
module Dependencies
|
8
8
|
class Sshkey < Dependency
|
9
|
-
DEFAULT_KEY_SIZE =
|
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