cryslith / kataomoi

Cryptographic matchmaking webapp
MIT License
12 stars 0 forks source link

Don't block with keygen on page load #2

Closed duxovni closed 7 years ago

duxovni commented 7 years ago

Instead of just having page load stall while keys are generated, we should have a widget that says "Generating cryptographic keys, please wait..." and do the keygen in a way that doesn't hang up the browser. Not sure whether Forge's web worker keygen is useful, but we can always go with createKeyPairGenerationState and stepKeyPairGenerationState as used in their example code in the readme.

duxovni commented 7 years ago

a971dd2