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

Decrypted String cut after 65536 chars on iPad #13

Open
GoogleCodeExporter opened this issue Mar 12, 2015 · 3 comments
Open

Decrypted String cut after 65536 chars on iPad #13

GoogleCodeExporter opened this issue Mar 12, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a GWT app that encodes more then 65536 on the server
2. load the encoded string from the server
3. decrypt the encoded string

What is the expected output? What do you see instead?
the encoded string should be properly decoded. instead, the decoded string gets 
cut off after 65536 characters. 

What version of the product are you using? On what operating system?
tried with 1.0.3  and gwt-crypto-2.3.0-20110518.123759-2.jar


Please provide any additional information below.
I think this has something to do how the decoded string gets constructed as the 
ipad seems to be able to handle strings bigger than 65536 chars (e.g. because 
the encoded string received from the server is 189568 chars long and that 
doesn't seem to be a problem)

This is definitely a problem on "mobile safari", as my desktop browsers are 
able to correctly decrypt the encrypted string. However, I can't test it on the 
normal safari due to missing apple hardware. 


p.s.: while looking through some of the gwt-crypto code I think it might also 
be possible that this is a problem with integer boundaries.. but I'm not sure.

Original issue reported on code.google.com by domi...@dominikdorn.com on 13 Oct 2011 at 10:07

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