Use ECDSA to sign ECDH key exchange for UDP session keys.
The ECDSA public keys will also be included in the ANS_KEY requests, but are only used when no ECDSA public key is known yet.
This commit is contained in:
parent
03ac48ea19
commit
cff27a258f
11 changed files with 116 additions and 17 deletions
|
|
@ -547,7 +547,7 @@ static bool upgrade_h(connection_t *c, char *request) {
|
|||
}
|
||||
|
||||
logger(LOG_INFO, "Got ECDSA public key from %s (%s), upgrading!", c->name, c->hostname);
|
||||
append_connection_config(c, "ECDSAPublicKey", pubkey);
|
||||
append_config_file(c->name, "ECDSAPublicKey", pubkey);
|
||||
c->allow_request = TERMREQ;
|
||||
return send_termreq(c);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue