Skip to content

[FEATURE REQUEST] Password generator for public links #4308

@TheOneRing

Description

@TheOneRing

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

  • Research (if needed)
  • Create branch feature/password_generator_public_links
  • Development tasks
    • Create password generator algorithm
    • Add a button to generate password (only for oCIS)
    • Add a button to copy password (only for oCIS)
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/password_generator_public_links into master

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions