Skip to content

Commit

Permalink
Merge pull request #135 from lbetz/fix/key-perm
Browse files Browse the repository at this point in the history
Fix private key permissions
  • Loading branch information
lbetz committed Jun 24, 2024
2 parents 6eaff4e + c5e31c8 commit 16025a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/cert.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
group => $group,
mode => '0640',
}
$key_mode = '0400'
$key_mode = '0440'
}

if $args[key] {
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/cert_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
{
'owner' => 'foo',
'group' => 'bar',
'mode' => '0400',
'mode' => '0440',
}
).with_content('key')
}
Expand Down

0 comments on commit 16025a1

Please sign in to comment.