| AppVeyor | Forge Version | Forge PDK Version | Forge Downloads |
|---|---|---|---|
Manage cryptographic settings on a Windows machine.
allow_reboot- Controls if system can be rebooted, when crypto settings are modified. If reboot not allowed, then apropriate error event can be observed in Eventlog. Defaults tofalse.
event_logging_level- Set Schannel event logging. Defaults to3.
| Decimal | Description |
|---|---|
| 0 | Do not log |
| 1 | Log Error messages |
| 2 | Log Warnings |
| 3 | Log Error and Warning messages |
| 4 | Log Informational and Success events |
| 5 | Log Error, Informational and Success events |
| 6 | Log Warnings, Informational and Success events |
| 7 | Log Everything (Warnings, Errors, Informational and Success events |
multi_client- Set Multi-Protocol Unified Hello client protocol. Defaults tofalse.multi_server- Set Multi-Protocol Unified Hello server protocol. Defaults tofalse.tls_1_0_client- Set TLS 1.0 client protocol. Defaults tofalse.tls_1_0_server- Set TLS 1.0 server protocol. Defaults tofalse.tls_1_1_client- Set TLS 1.1 client protocol. Defaults tofalse.tls_1_1_server- Set TLS 1.1 server protocol. Defaults tofalse.tls_1_2_client- Set TLS 1.2 client protocol. Defaults totrue.tls_1_2_server- Set TLS 1.2 server protocol. Defaults totrue.ssl_2_0_client- Set SSL 2.0 client protocol. Defaults tofalse.ssl_2_0_server- Set SSL 2.0 server protocol. Defaults tofalse.ssl_3_0_client- Set SSL 3.0 client protocol. Defaults tofalse.ssl_3_0_server- Set SSL 3.0 server protocol. Defaults tofalse.pct_1_0_client- Set PCT 1.0 client protocol. Defaults tofalse.pct_1_0_server- Set PCT 1.0 server protocol. Defaults tofalse.
md5- Set MD5 hash. Defaults tofalse.sha- Set SHA hash. Defaults tofalse.sha256- Set SHA256 hash. Defaults totrue.sha384- Set SHA384 hash. Defaults totrue.sha512- Set SHA512 hash. Defaults totrue.
pkcs- Set PKCS key exchange algorithm. Defaults totrue.ecdh- Set ECDH key exchange algorithm. Default totrue.diffie_hellman- Set Diffie-Hellman key exchange algorithm. Default totrue.
aes_128_128- Set AES 128/128 cipher. Defaults totrue.aes_256_256- Set AES 256/256 cipher. Defaults totrue.rc2_40_128- Set RC2 40/128 cipher. Defaults tofalse.rc2_56_128- Set RC2 56/128 cipher. Defaults tofalse.rc2_128_128- Set RC2 128/128 cipher. Defaults tofalse.rc4_40_128- Set RC4 40/128 cipher. Defaults tofalse.rc4_56_128- Set RC4 56/128 cipher. Defaults tofalse.rc4_64_128- Set RC4 64/128 cipher. Defaults tofalse.rc4_128_128- Set RC4 128/128 cipher. Defaults tofalse.des_56_56- Set DES 56/56 cipher. Defaults tofalse.threedes_168- Set 3DES 168 cipher. Defaults tofalse.null- Set NULL cipher. Defaults tofalse.
[COMING SOON, WIP]
Below are the defaults for crypto_win.
| Logging | Protocols | Hashes | Key Exchange Algorithms | Ciphers |
|---|---|---|---|---|
| 3 | TLS 1.2 client & server | SHA256, SHA384, SHA512 | PKCS, ECDH, Diffie-Hellman | AES 128/128, AES 256/256 |
At a minimum include the crypto_win class.
To use all defaults simply include the class.
include crypto_win
To override a default simply supply the parameter and respective boolean.
class { 'crypto_win':
tls_1_1_client => true,
tls_1_1_server => true,
md5 => true,
ecdh => false,
}
Crypto_win is released under the MIT license.