Fixed built-in policy formatting and filled in missing host key size information.

This commit is contained in:
Joe Testa
2023-04-26 15:47:58 -04:00
parent 4c098b7d12
commit 7f8d6b4d5b
7 changed files with 192 additions and 46 deletions

View File

@ -1,8 +1,16 @@
Host: localhost:2222
Policy: Hardened OpenSSH Server v8.0 (version 1)
Policy: Hardened OpenSSH Server v8.0 (version 2)
Result: ❌ Failed!

Errors:
* Host key (rsa-sha2-256) sizes did not match.
- Expected: 4096
- Actual: 3072
* Host key (rsa-sha2-512) sizes did not match.
- Expected: 4096
- Actual: 3072
* MACs did not match.
- Expected: hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, umac-128-etm@openssh.com
- Actual: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1