Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSA KeyPair generation fails in Production Mode #21

Open
GoogleCodeExporter opened this issue Mar 12, 2015 · 1 comment
Open

RSA KeyPair generation fails in Production Mode #21

GoogleCodeExporter opened this issue Mar 12, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

This is a very interesting project. Great work!

When I try to generate an RSA keypair in production mode, the browser freezes. 
Possibly an infinite loop somewhere? The code runs fine in Dev Mode.  I'm new 
to GWT so maybe I'm just doing something wrong.

Also, I noticed in the gwt-crypto source code that the unit test 
RSATest.testGenKey() is skipped in production mode. Does that mean this is a 
known issue?

What steps will reproduce the problem?
1) Build the attached project with "mvn clean install"
2) Open the HTML file in a browser: target/rsa-test-1.0-SNAPSHOT/RsaTest.html 
(Chrome, as usual, will require it to be on a web server)
3) Push the button.
4) Firefox v22.0 and Chromium v28.0.1500.52 freeze. (Running on Ubuntu 12.04)

What version of the product are you using? On what operating system?
Version 2.3.0
Ubuntu 12.04 LTS





Original issue reported on code.google.com by [email protected] on 8 Jul 2013 at 2:21

Attachments:

@GoogleCodeExporter
Copy link
Author

It actually doesn't freeze completely. It just takes hours or possibly days. 
The issue is the modPow implementation in BigInteger.

See https://code.google.com/p/google-web-toolkit/issues/detail?id=8310

Original comment by [email protected] on 5 Feb 2014 at 12:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant