Puppet Class: crypto_win::hashes::sha512
- Defined in:
-
manifests/hashes/sha512.pp
Overview
Class: crypto_win::hashes::sha512
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'manifests/hashes/sha512.pp', line 2
class crypto_win::hashes::sha512 {
if $crypto_win::sha512 {
$sha512_enabled = 0xFFFFFFFF
} else {
$sha512_enabled = 0
}
registry_key { 'sha512':
ensure => present,
path => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\SHA512',
}
registry_value { 'sha512_enabled':
ensure => present,
path => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\SHA512\Enabled',
type => dword,
data => $sha512_enabled,
require => Registry_key['sha512'],
}
}
|