if my diagnosis of the problem is correct, you should be able to
replicate it by re-loading the page, entering your credentials and
submit the login request before the entropy collector is ready to
generate random numbers.
If you look in the javascript console you should see this message:
> DEBUG: ### PRNG.readyToGenerateRandomBytes
My suspect is that if the login form is submitted before this log is
generated, it will fail. If submitted after, it will succeed.
Regards,
Giulio Cesare
please make this test:
- quit and restart the browser;
- load Clipperz app, but don't try to login;
- open the javascript console (View -> Developer -> JavaScript Console);
- wait until the "DEBUG: ### PRNG.readyToGenerateRandomBytes" logs is
printed out;
- try to login.
If my suspect is correct, you will be able to login successfully.
Regards,
Giulio Cesare
On Tue, Jun 1, 2010 at 12:28 AM, thomas blanchard
<thomasfp....@gmail.com> wrote:
> Hello,
> actually, I tried it yesterday :
> after I restart my computer and start a new session of chrome, I typed my
> password in a blank text file, copied it to clipperz, and the first time it
> did not work, I tried another time and it worked.
> I tried this morning without restarting my os neither my browser and it
> worked on the first time.
> I have then restarted my browser and had an error while logging the first
> time. I did that several times (restart - login) and it failed each time. I
> tried reloading completely the page (with CTRL-SHIFT + R) but I still
> encounter troubles.
> I did not have any trouble with firefox nor IE, however I did not test them
> as much as chrome/
> could it be something with the way chrome manages the cache of some
> informations on the page ?
> like some script files (i don't know the program enough to answer).
>
> thomas
> 2010/5/31 giulio...@gmail.com <giulio...@gmail.com>
thanks for the feedback.
I am not really in hurry to try to fix it (even because it seems to
affect only the /beta version, and not the new /gamma).
But I would love to understand what is going on anyway.
Thanks again for your support.
Regards,
Giulio Cesare
On Wed, Jun 2, 2010 at 12:05 AM, thomas blanchard
But under IE it still works.
Seems like a new Chrome feature?
> --
> You received this message because you are subscribed to the Google Groups "Clipperz" group.
> To post to this group, send email to clip...@googlegroups.com.
> To unsubscribe from this group, send email to clipperz+u...@googlegroups.com.
this log is quite strange.
Clipperz has a multi-version authentication protocol; this was
designed to allow seamless upgrade of the authentication protocol in
case any vulnerability was ever found.
We have already upgraded the authentication protocol once (this was at
the VERY beginning of the development, probably even before we
released it publicly, and it was mostly done to verify the upgrade
procedure).
The application tries to authenticate using the latest version of the
protocol. If it fails it than fallback to the previous one, until the
bottom of the stack is reached; at that point a failure is notified to
the user.
When you enter a wrong username/passphrase, what you should see on the
logs looks more like this:
ERROR - c: 57d15a8afbc1ae08103bd991d387ddfd8d26824276476fe709d754f098b6c26d
# version: 0.2
ERROR - c: 78675cc176081372c43abab3ea9fb70c74381eb02dc6e93fb6d44d161da6eeb3
# version: 0.1
This means that the authentication using version 0.2 failed, and later
also version 0.1 failed.
In your logs, only the later is present, and this is VERY puzzling. :(
This probably means that the authentication using version 0.2 kind of
succeed, but probably failed in a point where it was not supposed to
fail.
Do you have this same problem also running the /gamma version of the
application?
/gamma has a more sophisticated logging code that could provide a few
more hints at what is going on.
Thanks for the feedback.
Regards,
Giulio Cesare