-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3ff5b1
commit 51a343e
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ def ssh_version | |
inspec.command('ssh -V 2>&1 | cut -f1 -d" " | cut -f2 -d"_"').stdout.to_f | ||
end | ||
|
||
def valid_ciphers # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLength | ||
def valid_ciphers # rubocop:disable Metrics/CyclomaticComplexity | ||
# define a set of default ciphers | ||
ciphers53 = 'aes256-ctr,aes192-ctr,aes128-ctr' | ||
ciphers66 = '[email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr' | ||
|
@@ -68,7 +68,7 @@ def valid_ciphers # rubocop:disable Metrics/CyclomaticComplexity, Metrics/Method | |
ciphers | ||
end | ||
|
||
def valid_kexs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLength | ||
def valid_kexs # rubocop:disable Metrics/CyclomaticComplexity | ||
# define a set of default KEXs | ||
kex66 = '[email protected],diffie-hellman-group-exchange-sha256' | ||
kex59 = 'diffie-hellman-group-exchange-sha256' | ||
|
@@ -210,7 +210,7 @@ def valid_privseparation # rubocop:disable Metrics/CyclomaticComplexity | |
end | ||
|
||
# return a list of valid algoriths for a current platform | ||
def valid_algorithms # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLength | ||
def valid_algorithms # rubocop:disable Metrics/CyclomaticComplexity | ||
alg53 = %w[rsa] | ||
alg60 = %w[rsa ecdsa] | ||
alg66 = %w[rsa ecdsa ed25519] | ||
|