owncloud / android

:phone: The ownCloud Android App
GNU General Public License v2.0
3.77k stars 3.05k forks source link

[FEATURE REQUEST] Password generator for public links #4308

Closed TheOneRing closed 3 months ago

TheOneRing commented 5 months ago

Is your feature request related to a problem? Please describe. Along with the password policy, the iOS client implements a password generator.

Describe the solution you'd like The generator creates passwords that follow the policy and in general should have a higher entropy than a user generated password. The implementation should be aligned with the iOS implementation.

Additional context iOS code: https://github.com/owncloud/ios-sdk/blob/develop/ownCloudSDK/Password%20Policy/OCPasswordPolicy%2BGenerator.m#L24

Possible password policies to fulfill are the following (values are server-customizable):

 "password_policy": {
                    "max_characters": 72,
                    "min_characters": 8,
                    "min_digits": 1,
                    "min_lowercase_characters": 1,
                    "min_special_characters": 1,
                    "min_uppercase_characters": 1
}

TASKS

jesmrec commented 5 months ago

Needs research to check for available solutions in the Android world

JuancaG05 commented 3 months ago

Needs research to check for available solutions in the Android world

None of the available solutions was suitable (in addition to the fact that none of them is native). Developing our own solution then 👨🏼‍💻