client icon indicating copy to clipboard operation
client copied to clipboard

Client 1.4.0 and 1.4.1 is not honouring the nostoredpassword=true setting in the .cfg file.

Open john7000 opened this issue 13 years ago • 3 comments

I have not found any other report of this specific issue but #1081 may be a related issue as it also needs the dialog box to enter credentials.

Expected behaviour

In version 1.3 and earlier the string [ownCloud] nostoredpassword=true
was honoured by the code and thus required the user to explicitly provide the password information when not stored.

Actual behaviour

Version 1.4 stores the password regardless and auto-connects despite this string being present to disable password storage.

Steps to reproduce

Install v1.3 or v1.2.5, modify the .cfg file (located in /Library/Application Support/ownCloud/ or /Users//Library/Application Support/ownCloud/) to include the string above in the [ownCloud] section.

On starting the app it will ask for the password.

Upgrade to v1.4 and the application will error until the credentials are configured in the settings and will then subsequently auto-logon on startup.

Server configuration

Operating system: Centos 6.3 ownCloud version: 5.0.10

Client configuration

Client version: See above Operating system: MacOS Snow Leopard and Mountain Lion

The requirement is for circumstances where the operating system login account may be used by a group of users but the synchronisation is only required for specific users e.g. technical support or where there is the opportunity for other parties to access the machine on the account.

As a result of this bug I have had to refrain from implementing version 1.4 client.

Is this a feature which has been intentionally removed (it is not listed in the release notes) or just a coding error which will be fixed in a later 1.4 sub release?

john7000 avatar Oct 21 '13 10:10 john7000

Support for not storing passwords was dropped in 1.4 because we now encrypt passwords. /cc @jancborchardt

danimo avatar Oct 21 '13 13:10 danimo

Encrypting the stored or cached password is clearly a security benefit and means that there may be less reason not to retain the password and other credentials within the client. However this should not translate to automatic login when the ownCloud client is started in all circumstances.

My issue is that there needs to be an optional way to prevent a user from connecting to the owncloud server unless they can provide some additional credentials. In its simplest from this is by making the user supply their ownCloud account's password through a popup dialog box which was a corollary of the "nostoredpassword=true" setting on v1.3 and earlier.

On the android and iOS oC client implementations this additional credential requirement has been achieved through an optional PIN. Of course these mobile systems do not necessarily have the concept of multiple local login accounts but there are cases where this also applies to Mac and Windows clients too.

So it would be useful to have an option whereby the v1.4 client (or later) user must supply either the ownCloud account password or perhaps a PIN before any synchronisation to the server is allowed.

john7000 avatar Oct 22 '13 02:10 john7000

This is the same as #999 then, right? I see the use cases now and it’s probably good to bring the functionality back. See #999 for details, closing this as duplicate.

jancborchardt avatar Oct 26 '13 14:10 jancborchardt