Remix.run Logo
▲ nmadden 5 hours ago

P-521 is slooooow

▲maximilianburke 5 hours ago | parent [-]

Yeah but it’s only used for key exchange, right?

▲adrian_b 5 hours ago | parent [-]

I have switched from ED25519 to P-521, both for host and client keys and for the key exchange algorithm, on some ancient devices where updating OpenSSH would be difficult.

There is no noticeable slow-down, I still connect instantaneously, but that is because I am the only one who connects through SSH to those devices. If there would be thousands of SSH connection establishments per second, I suppose that there might be a measurable difference in CPU load between using ED25519, P-384 and P-521. For a Github server or for a Huggingface server, the size of the curve should matter, because those have a great number of clients connecting through SSH, but not for a server with a single administrator, who uses SSH.