Filippo Valsorda :go: on Nostr: The good news is that now it's personal, so I have a 25-lines change that makes ...
The good news is that now it's personal, so I have a 25-lines change that makes verification four times faster, and I am not done.
The bad news is that it's too late for Go 1.22, so this is coming in Go 1.23.
This is yet another reason the RSA exponent should have been fixed rather than per-key (see
https://words.filippo.io/parameters/): there would have been no way to benchmark the wrong value.
Also, I wouldn't have had to worry about whether it's ok to leak it with timing side-channels!
Published at
2023-12-27 10:19:18Event JSON
{
"id": "690f63e6959bd43e8aaf4d1a886048c6a809b65939d122552207719d4c002581",
"pubkey": "75c4441558d260c0ca589ce8fa89fd5052eccf0b09fca823796810a986ad1c8e",
"created_at": 1703672358,
"kind": 1,
"tags": [
[
"e",
"3a26c61ec01dae242619590dbda505ff35054e07e1d267775c158b52b9bbdf51",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://abyssdomain.expert/users/filippo/statuses/111651871707853859",
"activitypub"
]
],
"content": "The good news is that now it's personal, so I have a 25-lines change that makes verification four times faster, and I am not done.\n\nThe bad news is that it's too late for Go 1.22, so this is coming in Go 1.23.\n\nThis is yet another reason the RSA exponent should have been fixed rather than per-key (see https://words.filippo.io/parameters/): there would have been no way to benchmark the wrong value.\n\nAlso, I wouldn't have had to worry about whether it's ok to leak it with timing side-channels!\n\nhttps://cdn.masto.host/abyssdomainexpert/media_attachments/files/111/651/869/524/389/227/original/c6e68832c214cd46.png",
"sig": "4b1f339c0a90d301493b7b736a58b7e0cb3cf499dd2c0342afc295ec7376a9972a5fe07af4cde7a307e68c204d277b42aebee93678dd7453b62f123ad8c07f86"
}