Just for giggles, I put up this page:
http://jere.us/rsa_test.htmlIt has two forms on it that both submit to dev glbse account balance. The first one submits the data you provided in your first post. The second one calculates the form data.
To use the top form:
1. Click the top "Submit" button
2. Notice error page
To use the bottom form:
1. Enter a nonce or click the "Create Nonce" button
2. Click the "Calculate Data and Sig" button
3. Notice that the data and sig are available for inspection
4. Click the bottom "Submit"
5. Notice error page
For my tests the error pages are the same. Line 58 of base64.rb calls an unknown method. You have to fix that before I can continue.
Is my page doing anything it should not? I know the second form submits some stuff it doesn't have to, but that should be ignored anyway so it shouldn't cause a problem. Or at least, not the problem I'm seeing.
Jere
Hey Jere, the error you were getting is because you were submitting the data wrong.
There are only 2 post fields data, signature
data is the base encoded json string containing all the data elements (nonce, use_id etc.) while signature is the base64 encoded signature.
The reason you were getting that error was because the app was looking for the post field "signature" and that was nil, so of course you can't base64 decode nil can you. Ah, these errors are much nicer in a browser than on the command line.