[clipperz] Clipperz login sometimes fails once, then succeeds

57 views
Skip to first unread message

Steve Dee

unread,
May 19, 2010, 1:19:32 PM5/19/10
to clipperz
Pretty frequently, when I log in to https://www.clipperz.com/beta/,
I'll get a "Login failed" message. Generally this indicates that I've
mistyped my password, but I've found that usually if I just try again
with the same text in the password box, I can log in successfully.
First, it might make sense to have a separate "invalid password"
condition as opposed to other forms of login failure. Second, this is
probably a bug.

Seen in Chrome 6.0.401.1 on Linux.

--
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.
For more options, visit this group at http://groups.google.com/group/clipperz?hl=en.

giulio...@gmail.com

unread,
May 19, 2010, 2:16:33 PM5/19/10
to mrdo...@gmail.com, clipperz
Hello Steve,

I have observed this same behavior, but I have always considered I
have miss typed the password.

There may be some strange condition preventing the login to succeed,
but I never had this problem once while running the tests, so I really
don't know how to investigate the problem.

For the error condition, due to the security choices we have put into
handling our users credentials, it is technically impossible for us to
understand if the problem is due to a wrong username or wrong
password. In any case, the server will provide the same answer
whatever problem it encounters, in order to avoid leaking useful
information to an attacker.

If you manage to identify the conditions when the problem arise, and
can reproduce it reliably, I would love to know! :)

Thanks for the feedback.

Regards,

Giulio Cesare

Kevin McGee (NetaisLLC)

unread,
May 19, 2010, 8:10:13 PM5/19/10
to Clipperz
1++

I see this all the time using Chrome 4.1.249.blah on Windows7 64bit.
I used to think I was simple mistyping the passphrase since I have a
long one, but it seems to happen far too many times.

That said, simply *slowing down* and really concentrating on typing
accurately does seem to mitigate the issue.

Hmm, I wonder....

- Kevin M.
=======

On May 19, 11:16 am, "giulio.ces...@gmail.com"
<giulio.ces...@gmail.com> wrote:
> Hello Steve,
>
> I have observed this same behavior, but I have always considered I
> have miss typed the password.
>
> There may be some strange condition preventing the login to succeed,
> but I never had this problem once while running the tests, so I really
> don't know how to investigate the problem.
>
> For the error condition, due to the security choices we have put into
> handling our users credentials, it is technically impossible for us to
> understand if the problem is due to a wrong username or wrong
> password. In any case, the server will provide the same answer
> whatever problem it encounters, in order to avoid leaking useful
> information to an attacker.
>
> If you manage to identify the conditions when the problem arise, and
> can reproduce it reliably, I would love to know! :)
>
> Thanks for the feedback.
>
> Regards,
>
> Giulio Cesare
>
>
>
>
>
> On Wed, May 19, 2010 at 7:19 PM, Steve Dee <mrdom...@gmail.com> wrote:
> > Pretty frequently, when I log in tohttps://www.clipperz.com/beta/,
> > I'll get a "Login failed" message. Generally this indicates that I've
> > mistyped my password, but I've found that usually if I just try again
> > with the same text in the password box, I can log in successfully.
> > First, it might make sense to have a separate "invalid password"
> > condition as opposed to other forms of login failure. Second, this is
> > probably a bug.
>
> > Seen in Chrome 6.0.401.1 on Linux.
>
> > --
> > 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.
> > For more options, visit this group athttp://groups.google.com/group/clipperz?hl=en.
>
> --
> 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.
> For more options, visit this group athttp://groups.google.com/group/clipperz?hl=en.

giulio...@gmail.com

unread,
May 20, 2010, 7:55:56 AM5/20/10
to neta...@gmail.com, Steve Dee, Clipperz
Hello,

I had another 'private' notification on this same problem that could
be repeated.

All the report seems to be related to Chrome, Windows, and the /beta
version of Clipperz application.

Given the descriptions, it may happen that somehow the login procedure
starts before the randomness collector has enough entropy to safely
start SRP authentication. I don't know why only Chrome on Windows is
skipping this not waiting for this task to complete before starting
the actual login procedure.

If this is actually the case, you can easily avoid the problem simply
waiting a little bit (sorry, no actual indicator on when the procedure
is completed, other than a simple log into the Javascript console),
possibly moving the mouse steadily (the movement of the mouse helps
collecting entropy).

As this problem is an annoyance happening only on Chrome/Windows/beta,
we can hardly justify trying to fix it.
I feel very sorry for everybody involved, but I think you can
understand our desire to focus all our limited attention on trying to
complete the /gamma version.

Thanks everybody for the feedback.

Best regards,

Giulio Cesare

Steve Dee

unread,
May 20, 2010, 1:42:46 PM5/20/10
to giulio...@gmail.com, Clipperz
It's definitely not just Windows -- I've seen it on Linux too. That said, it's still probably not an extraordinarily large portion of the userbase, and it doesn't render the app unusable -- it certainly makes more sense to focus on gamma.

bouktin

unread,
May 29, 2010, 1:29:40 PM5/29/10
to Clipperz
Hello,
I noticed this problem using and I use chrome too, but can't really
reproduce it.

and I can't say it is linked to chrome.

If I ever figure out this behavior, I'll update this thread.

thomas

On 20 mai, 19:42, Steve Dee <mrdom...@gmail.com> wrote:
> It's definitely not just Windows -- I've seen it on Linux too. That said,
> it's still probably not an extraordinarily large portion of the userbase,
> and it doesn't render the app unusable -- it certainly makes more sense to
> focus on gamma.
>
> On Thu, May 20, 2010 at 7:55 AM, giulio.ces...@gmail.com <
> > clipperz+u...@googlegroups.com<clipperz%2Bunsubscribe@googlegroups.c om>
> > .
> > >> > For more options, visit this group athttp://
> > groups.google.com/group/clipperz?hl=en.
>
> > >> --
> > >> 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<clipperz%2Bunsubscribe@googlegroups.c om>
> > .
> > >> For more options, visit this group athttp://
> > groups.google.com/group/clipperz?hl=en.
>
> > > --
> > > 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<clipperz%2Bunsubscribe@googlegroups.c om>
> > .

giulio...@gmail.com

unread,
May 31, 2010, 2:56:29 AM5/31/10
to thomasfp....@gmail.com, Clipperz
Hello Thomas,

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

giulio...@gmail.com

unread,
Jun 1, 2010, 3:09:44 AM6/1/10
to thomas blanchard, Clipperz
Hello Thomas,

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>

thomas blanchard

unread,
May 31, 2010, 6:28:30 PM5/31/10
to giulio...@gmail.com, Clipperz
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>
Hello Thomas,

thomas blanchard

unread,
Jun 1, 2010, 6:05:38 PM6/1/10
to giulio...@gmail.com, Clipperz
Hello Giulio, 

I made your test and it still doesn't work the first time.

here are the log : 
XML self-closing tag syntax used on <div>. The tag will not be closed.
betaResource interpreted as image but transferred with MIME type text/html.
beta:7664DEBUG: ### PRNG.readyToGenerateRandomBytes
beta:7664DEBUG: ERROR - c: 5836e35dccad5ce570433533387ef6e3110b7c8fa3cd46f9c97fe99ec3b1175e # version: 0.2
beta:7664DEBUG: ERROR - c: e0f9286293a562a6a00195ab83546e5f892961c9ce268be7cbe658167bfe4afb # version: 0.1

(I'm using a test account)

note that this is not a critical problem, it seems to be a problem only with Chrome so do not feel in a hurry.

Regards,
thomas

giulio...@gmail.com

unread,
Jun 2, 2010, 3:05:55 AM6/2/10
to thomas blanchard, Clipperz
Hello Thomas,

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

bouktin

unread,
Jun 23, 2010, 4:37:16 PM6/23/10
to Clipperz
Hello,

I don't have the login problem anymore since a few days (week?) so I
suppose it was a bug from Chrome they have corrected in some version.

thanks for the support.

Regards,
thomas blanchard

On 2 juin, 09:05, "giulio.ces...@gmail.com" <giulio.ces...@gmail.com>
wrote:
> > 2010/6/1 giulio.ces...@gmail.com <giulio.ces...@gmail.com>
> >> > 2010/5/31 giulio.ces...@gmail.com <giulio.ces...@gmail.com>
>
> >> >> Hello Thomas,
>
> >> >> 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
>
> >> >> On Sat, May 29, 2010 at 7:29 PM, bouktin <thomasfp.blanch...@gmail.com>
> >> >> >> > clipperz+u...@googlegroups.com<clipperz%2Bunsubscr...@googlegroups.c
> >> >> >> > om>
> >> >> >> > .
> >> >> >> > >> > For more options, visit this group athttp://
> >> >> >> > groups.google.com/group/clipperz?hl=en.
>
> >> >> >> > >> --
> >> >> >> > >> 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<clipperz%2Bunsubscr...@googlegroups.c
> >> >> >> > om>
> >> >> >> > .
> >> >> >> > >> For more options, visit this group athttp://
> >> >> >> > groups.google.com/group/clipperz?hl=en.
>
> >> >> >> > > --
> >> >> >> > > You received this message because you are subscribed to the
> >> >> >> > > Google
> >> >> >> > > Groups
> >> >> >> > "Clipperz" group.
> >> >> >> > > To post to this group, send email to
>
> ...
>
> plus de détails »

Jason Schmidt

unread,
Aug 19, 2010, 8:19:04 AM8/19/10
to giulio...@gmail.com, Clipperz
Giulio,

If you're still interested, I have more details on this problem.  Here is the developers' javascript console output for one of these failures in Google Chrome.  I'm running version 6.0.472.36 beta

beta:7664DEBUG: ### PRNG.readyToGenerateRandomBytes
/beta/images/default/gradient-bg.gifFailed to load resource: the server responded with a status of 404 (/beta/images/default/gradient-bg.gif)
/beta/images/default/layout/gradient-bg.gifFailed to load resource: the server responded with a status of 404 (/beta/images/default/layout/gradient-bg.gif)
beta:7664DEBUG: ERROR - c: 2e9b7acd266e4842471ba50ced7a834e86f63ff00ec7e939b05bea74d073042b # version: 0.1

Jason Schmidt
"Don't look back; the lemmings are gaining on you."

David Given

unread,
Aug 19, 2010, 9:03:29 AM8/19/10
to Clipperz
On Jun 23, 9:37 pm, bouktin <thomasfp.blanch...@gmail.com> wrote:
[...]
> I don't have the login problem anymore since a few days (week?) so I
> suppose it was a bug from Chrome they have corrected in some version.

Both beta and gamma failed for me on 7.0.497.0 (56291) Ubuntu 10.04.
(Is there an alpha?)

After upgrading to 7.0.499.0 (56633) Ubuntu 10.04, they both work
again.

Joel Riedesel

unread,
Aug 19, 2010, 9:08:58 AM8/19/10
to Clipperz
I just hit an inability to login under Chrome (6.0.495.0 dev) on Windows 7.
It wouldn't work with any of my saved data dumps either.
Failure with both beta and gamma of clipperz.

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.

giulio...@gmail.com

unread,
Aug 19, 2010, 12:27:05 PM8/19/10
to Jason Schmidt, Clipperz
Hello Jason,

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

Reply all
Reply to author
Forward
0 new messages