Deprecate "ssh1_server_host_key" parameters *e* and *p*

They are named such that *e* is actually the modulus, not the exponent.
The replacement parameters are named *exponent* and *modulus* for
clarity.
This commit is contained in:
Jon Siwek 2020-11-13 22:23:29 -08:00
parent bd40a97a78
commit 45449dad72
6 changed files with 33 additions and 19 deletions

View file

@ -292,9 +292,9 @@ function generate_fingerprint(c: connection, key: string)
c$ssh$host_key = join_string_vec(lx, ":");
}
event ssh1_server_host_key(c: connection, p: string, e: string) &priority=5
event ssh1_server_host_key(c: connection, modulus: string, exponent: string) &priority=5
{
generate_fingerprint(c, e + p);
generate_fingerprint(c, modulus + exponent);
}
event ssh2_server_host_key(c: connection, key: string) &priority=5