Skip to content

Commit a3f7e40

Browse files
committed
change config disclaimer from hardening.io to dev-sec.io
Signed-off-by: Patrick Münch <[email protected]>
1 parent bede848 commit a3f7e40

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

attributes/default.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
default['sshserver']['service_name'] = 'ssh'
4242
end
4343

44-
default['config_disclaimer'] = '**Note:** This file was automatically created by Hardening Framework (hardening.io) configuration. If you use its automated setup, do not edit this file directly, but adjust the automation instead.'
44+
default['config_disclaimer'] = '**Note:** This file was automatically created by Hardening Framework (dev-sec.io) configuration. If you use its automated setup, do not edit this file directly, but adjust the automation instead.'
4545
default['network']['ipv6']['enable'] = false # sshd + ssh
4646
default['ssh']['client']['cbc_required'] = false # ssh
4747
default['ssh']['server']['cbc_required'] = false # sshd

libraries/get_ssh_kex.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Chef
2424
class Recipe
2525
class SshKex
2626
# rubocop:disable AbcSize
27-
def self.get_kexs(node, weak_kex)
27+
def self.get_kexs(node, weak_kex) # rubocop:disable CyclomaticComplexity, PerceivedComplexity
2828
weak_kex = weak_kex ? 'weak' : 'default'
2929

3030
kex_59 = {}

libraries/get_ssh_macs.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Chef
2424
class Recipe
2525
class SshMac
2626
# rubocop:disable AbcSize
27-
def self.get_macs(node, weak_hmac)
27+
def self.get_macs(node, weak_hmac) # rubocop:disable CyclomaticComplexity, PerceivedComplexity
2828
weak_macs = weak_hmac ? 'weak' : 'default'
2929

3030
macs_53 = {}

templates/default/openssh.conf.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# This is the ssh client system-wide configuration file.
77
# See ssh_config(5) for more information on any settings used. Comments will be added only to clarify why a configuration was chosen.
88
#
9-
# Created for OpenSSH v5.9
9+
# Created for OpenSSH v5.9 up to 6.8
1010

1111
# Basic configuration
1212
# ===================

templates/default/opensshd.conf.erb

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# This is the ssh client system-wide configuration file.
77
# See sshd_config(5) for more information on any settings used. Comments will be added only to clarify why a configuration was chosen.
88
#
9-
# Created for OpenSSH v5.9
9+
# Created for OpenSSH v5.9 up to 6.8
1010

1111
# Basic configuration
1212
# ===================
@@ -219,4 +219,4 @@ X11Forwarding no
219219
#PasswordAuthentication no
220220
#PermitRootLogin no
221221
#X11Forwarding no
222-
<% end %>
222+
<% end %>

0 commit comments

Comments
 (0)