password characters & length
From a reddit thread: http://www.reddit.com/r/privacy/comments/18de58/secure_encrypted_and_selfhosted_dropbox/
»OwnCloud wont accept my 15-cifre, alpha-numerical-symbol password, so that is a no-go.«
What do you say @LukasReschke?
do we limit passwords? i dont think so
If we do this is retarded
do we limit passwords? i dont think so
Limited to 255 chars - that should be far enough ;-)
Closing as invalid.
Yeah, length limit would be retarded. Maybe the problem is the symbols.
@ChrisBuchholz are you by any chance the Chris Buchholz from that reddit thread and can let us know what exactly the problem is?
Yeah, length limit would be retarded. Maybe the problem is the symbols.
That's a problem due the ugliness of the Web/Cal/Card-DAV standard - it defines no standard encoding so that password with some special characters are not recognised properly when accessed via DAV clients...
@jancborchardt Yes that is me. I simply used my own password scheme which I use almost everywhere, but the resulting password, which contains number, letters, ! and % and is 15-cifres, did only work with the owncloud web-frontend. None of the other clients would let me log in. If i changed my password to something simpler, it worked fine.
None of the other clients would let me log in. If i changed my password to something simpler, it worked fine.
As I said: Blame DAV for that. - @jancborchardt Only thing we can do is limit the password to ASCII or show a warning that the "logins with DAV clients may not work due to some special chars" - guessing encoding is a pain and also not 100% reliable.
That would solve our problem: https://tools.ietf.org/html/draft-reschke-basicauth-enc-07
Let's hope it will get implemented in the future... ;-)
@LukasReschke Family? ;)
J. Reschke
@ChrisBuchholz 52^256 should be enough entropy for everyone ;D
@ChrisBuchholz sorry for the inconvenience, we’re limited by the open DAV standards we use there. We should probably have a note somewhere or maybe have the same limit in the web interface then as well (with a note that it’s because of DAV).
I just ran into this issue. Combined with #2584, this made for a very frustrating first use of ownCloud! :)
The client gives an unhelpful error message in this case: "Remote folder creation failed probably because the provided credentials are wrong." And in the log: "Too many attempts to authenticate. Stop request."
Options as I see them are:
- Add an errata note about password characters and WebDAV (what even are the specs for this? can't find them anywhere)
- Add some password validations server-side to ensure compatibilty
- Add validation in the clients
1 would be the quickest, 2 seems like the best solution, 3 is probably pointless.
I can also confirm that this issue is present, just as mrtorrent commented on. I set up a user with a password that contained the special character "æ" from the standard Norwegian alphabet (we use æ-Æ, ø-Ø and å-Å in addition to A-Z). When the user tried to set up the Windows Desktop Sync he got that error message of "Remote folder creation failed [...]" as mrtorrent quoted.
He changed his password via the web interface and desktop sync setup worked.
"<" doesn't work too. And from my point of view this is really sad. I think a warning at the password creation is the minimum. And even this is not good.
We could switch to Digest instead of using Basic authentication... I'll think about this...
Does this mean the password is hashed on the client and then the hash is compared to the one which is stored in the serverdb?
Does this mean the password is hashed on the client and then the hash is compared to the one which is stored in the serverdb?
Yep, this is what digest authentication usually does, however I have to check if this is compatible with our clients etc...
is this an option for authentification in the DAV standard?
Yup.
cool ;-)
The problem with digest is that that only works if we can calculate the hash. The combination with extern userbackend like ldap, webdav and other doesn't work anymore with digest.