Greasy Fork is available in English.

save the goddamn signing key

save the signing key on FIMFiction

Autor
skipferret
Instalações hoje
0
Total de instalações
12
Avaliações
1 0 0
Versão
2
Criado
25/02/2015
Atualizado
01/03/2015
Licença
N/A
Aplicável a

FIMFiction.net follows the wonderful practice of throwing away all the hard work and effort programmers have sweated over for decades and reimplementing everything in javascript because that's what the web browser companies tell you is safe. So they decided to implement public key cryptography allowing you to sign forms you post so they can verify it's not someone hacking your account. Except they could do that easily with session cookies instead and signing offers no additional security at all since you can't freaking export cryptography.

Then they delete the signing key every time you open the site in a new window.

The only way to get their javascript to regenerate the signing key is a 7 click process of logging out and logging back in again, which you have to do in order to post any comments, despite still being logged in. This script will instead copy the signing key to several safer places, so that when FIMFiction.net tells you to run code to delete the signing key, and you do so blithely and blindly, because running remote code blindly is a stupid idea and webmasters that force us to do that should be dragged out in the street and loved tenderly, then this script will restore your signing key and not require you to laborously login and logout every single time you want to post a new comment.