-
Notifications
You must be signed in to change notification settings - Fork 264
Generating multiple keys causes IE8 to display an "unresponsive script" warning. #244
Comments
Some observations here:
Some proposals exist to address this problem:
I believe the order these things are listed above is probably the right order of attack. |
Note: IE8 doesn't have web workers, so that's not a solution. |
totally agree with on-demand cert gen. (We can eventually optimize and always re-cert the most-used email on a site, too, but that can wait.) Reworking keygen code to yield is, IMO, not awesome, as that would require instrumenting very low-level code, especially when we move to something like DSA and the only instrumentation is at the modexp level. |
this issue will be focused on the on-demand keygen and cert plus the RSA JS optimizations. Move to other crypto is not part of this scope. If it's still too slow, we'll declare IE8 unsupported until next step. |
optimized JS in 7784331 |
I believe this is closed since @shane-tomlinson has done the on-demand keygen update? Shane can you confirm and close this issue if that part is done? |
@benadida - This cannot be closed yet. The unresponsive script warning is still displayed in IE8 using a 2.26ghz i5, all running natively, not inside of a VM. |
OK, then I think we can't support IE8 until we have DSA. How many times do you get the warning? |
@lloyd suggests looking at a 3-4 line fix that would yield to render thread during keygen. @shane-tomlinson suggests looking at Array creation and push as ways to make things faster. |
agreed-on next steps with @lloyd:
|
jwcrypto now has asynchronous interfaces for keygen and signing. Now exploring the titaniumcore library to see if it can be used without performance degradation. |
with DSA 1024/160, no more warnings. |
Need to check whether one key causes this error. If not, one idea is to set a short timeout between each key so that IE thinks all is OK.
The text was updated successfully, but these errors were encountered: