mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
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:
parent
bd40a97a78
commit
45449dad72
6 changed files with 33 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue