client icon indicating copy to clipboard operation
client copied to clipboard

no option to forget password any more?

Open Cathryne opened this issue 13 years ago • 27 comments

Hello!

I checked the forums and ML archive already, but found no topic about this exact issue.

Was the "remember password" option removed, or made permanent? I remember in the client version 1.3, I could let it load at system startup (Win7), but with the password dialogue.

Is this option still there in v1.4? I found nothing like it in the settings, nor during the "Modify Account" procedure.

If it was intentionally removed, please consider this a nudge for discussion about including it again. I found it very appropriate (on my work-computer that's not encrypted) to be able to disable auto-login.

Thanks and greetings!

Cathryne avatar Sep 13 '13 13:09 Cathryne

We removed this option intentionally since the password itself is now stored in an encrypted OS store.

danimo avatar Sep 13 '13 14:09 danimo

:-( Switching the default is fine, but also taking the option to toggle this away from advanced users is pretty harsh.

Cathryne avatar Sep 13 '13 14:09 Cathryne

@jancborchardt might want to explain that decision a bit more.

dragotin avatar Sep 13 '13 14:09 dragotin

@dragotin That would be great, thank you :-) Can you also please reopen this issue, so other users can find it and chip in more easily?

Cathryne avatar Sep 13 '13 14:09 Cathryne

Hey @Cathryne! Thank you for the report, and it’s tough to balance between normal and advanced users. I’m not sure if we had this remark before – I would think that a simple password protection for your laptop would solve this problem?

Please understand that while ownCloud is powerful under the hood, we don’t want that to translate to a complicated interface or many options. While of course this is just one element, we need clear reasoning for each and every element which we show to people. And this remember password thing specifically is quite strange for a sync client which should »just work«. :) That’s why I ask if we had this remark before, or would like to know some use-cases.

jancborchardt avatar Sep 28 '13 12:09 jancborchardt

Hi @jancborchardt!

My use-case is the following: shared lab/office in university. I have my own desktop computer with no private data on it (hence no password for the computer itself). But I do have some programs that connect to non-work-related stuff, like my ownCloud. I use it to sync & backup documentary pictures of my lab work from my smartphone. Copying via USB or using a 2nd ownCloud instance would be infeasible. The Android app and desktop sync clients can only connect to one anyway, right?

Therefore, I try to lock down individual applications on my work PC. OwnCloud before v1.4 had this implemented well :-) Thunderbird and Firefox also. Having a password prompt when starting a program remains the best compromise IMHO.

The following is more general contribution to this (yes, I also think we already had it before) discussion. Why is there a need to remove a previously available option instead of putting it into some kind of "Advanced"-section of the settings? Please think about what you are effectively saying: "we don’t want [...] many options". There sure are some good reasons in the [...]-part, but why push the minimalism so far? It's a neat idea at the core, and very useful in many cases, but it shouldn't be a dogma that's imposed on users indiscriminately.

If it is, the option to toggle auto-start should also be removed, because who would want to manually start a sync? It should just work all the time!

Serious(ly) again. Sure, the UI should be as simple as possible upfront :-) But there should also be an "Advanced"-section for power-users. Like about:config in Firefox for example, or the "Show all"/"Show basic"-switch in VLC's settings. Anything in addition to the user-friendly façade. Focussing too much on the latter, will help increase the knowledge gap between regular users and developers, I fear. Where will power-users (which I identify as) fit in? How should regular users gain more computer knowledge if the software they use shows them less and less of its workings?

Cathryne avatar Sep 29 '13 10:09 Cathryne

Very valid use case IMO.

Why was it removed? Well, we were not unhappy when @jancborchardt asked us to remove that functionality because it really made the anyhow complex authentication- and startup code even more complex. Yet now I think we should reintroduce it for the valid use case that you don't want to leave behind credentials on a machine, also not encrypted.

dragotin avatar Sep 29 '13 10:09 dragotin

Ok, seeing from #1112 as well this seems very valid. We should probably bring back the functionality.

My proposal is it should be similar to the web interface in the form of a »remember password« checkbox during the setup process. The checkbox would be checked by default. When you uncheck it, you are asked for it again on every startup and after every disconnect.

Also, that »remember password« checkbox should probably be in the General settings dialog as well in case you want to disable or enable it at any point in time.

Is that ok @dragotin @danimo @Cathryne @john7000?

jancborchardt avatar Oct 26 '13 14:10 jancborchardt

:+1: Thank you :-)

Cathryne avatar Oct 26 '13 16:10 Cathryne

Also cc'ing @MTRichards on this.

jancborchardt avatar Oct 26 '13 16:10 jancborchardt

Thanks too. Also when the setting is switched from "remember-password" to "do-not-remember-password" status (and confirmed/saved) any previously cached password should be zeroed or randomised in memory and in the configuration store. Else some unuathorised user may re-enable the setting and thus gain access without actually knowing the password.

john7000 avatar Oct 27 '13 00:10 john7000

For 1.5, I have implemented a "Sign out" feature which discards the password. Once you log in though, the password will still be stored in the keychain and in RAM until you sign out (wiping RAM is not reliable anyway but let's not go there). However, this should cover @Cathryne's use case.

For 1.6, we might bring back the option not to store the password in the first place, but that requires more work.

danimo avatar Nov 26 '13 02:11 danimo

Cool, thanks! Looking forward to the public release of v1.5

Cathryne avatar Nov 26 '13 08:11 Cathryne

@danimo thanks! Although I’m not sure about the placement of the »Sign out« functionality. Rather than adding it as yet another entry in the menu (people will be confused by the distinction of sign out and quit) – let’s put it in the account settings as a button next to the »change password« functionality.

Ok?

jancborchardt avatar Nov 28 '13 16:11 jancborchardt

Hi everyone, I have been following this thread and now installed version 1.5 where one can sign out. This is a first step, but I would like to emphasise that an optionality that leads to the password not being safed and required to be typed in at every start of the program would be very welcomed! :)

Best wishes from Germany and happy holidays

Skorpinus avatar Dec 24 '13 12:12 Skorpinus

Hello,

I have 1.5.0 on MacOSX and the password is stored in the KeyChain. On Linux, however, the password is stored in plain text in owncloud.cfg (and there is not SignIn/SignOut menu item).

Given the fact that many home directories on Linux are in a shared filesystem I would suggest to not to store the password in config files by default. Otherwise it will be a major security hole for organizations.

What is the plan on password handling for the next release?

kuba

moscicki avatar Feb 04 '14 11:02 moscicki

Sorry, actually the SignOut menu item is there on Linux too - however when I sign out the password is still stored plain text in the config file.

I really think that by default passwords should not be stored plain text in the config file. If someone really wants they may enable this --- with big red warning signs on that they choose to expose themselves to a security threat,

moscicki avatar Feb 04 '14 11:02 moscicki

@moscicki Which linux distro? Which desktop environment? It should just go ahead and store the password in the Gnome Keychain or KDE Wallet if available. Plaintext is an implicit fallback, otherwise those people would need to type their password each and every time. A warning would be ok, I agree, but I would really like to know why it fails in your case.

danimo avatar Feb 04 '14 11:02 danimo

@danimo According to:

http://packages.debian.org/jessie/libqtkeychain0 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735043

qtkeychain 0.1.0 don't support Gnome-Keyring at the moment.

ghost avatar Feb 07 '14 20:02 ghost

@RealRancor That's a correct statement. We're however not using 0.1.0, but a snapshot, and ship QtKeychain ourselves. Unfortunately, upstream has not yet released a more recent version.

danimo avatar Feb 07 '14 22:02 danimo