mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Permit configuring RSA signature types in certificates.
As distinct from the type of signature generated by the SSH server itself from the host key, this lets you exclude (and by default does exclude) the old "ssh-rsa" SHA-1 signature type from the signature of the CA on the certificate.
This commit is contained in:
@ -6,6 +6,9 @@ host_ca *host_ca_new(void)
|
||||
{
|
||||
host_ca *hca = snew(host_ca);
|
||||
memset(hca, 0, sizeof(*hca));
|
||||
hca->opts.permit_rsa_sha1 = false;
|
||||
hca->opts.permit_rsa_sha256 = true;
|
||||
hca->opts.permit_rsa_sha512 = true;
|
||||
return hca;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user