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.
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
andstepKeyPairGenerationState
as used in their example code in the readme.