Skip to content

[Update] password complexity rule change #298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 3 additions & 25 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4630,15 +4630,7 @@ paths:
description: >
The new root password for the OS installed on this Disk.

The password must contain at least two of these four
character classes:

* lowercase letters
* uppercase letters
* numbers
* punctuation
minLength: 6
maxLength: 128
The password must meet the complexity strength validation requirements for a strong password.
example: another@complex^Password123
responses:
'200':
Expand Down Expand Up @@ -7593,8 +7585,6 @@ paths:
example: johndoe
password:
type: string
minLength: 0
maxLength: 5000
description: >
The password to use when accessing the Managed Service.
example: s3cur3P@ssw0rd
Expand Down Expand Up @@ -7750,8 +7740,6 @@ paths:
example: johndoe
password:
type: string
minLength: 0
maxLength: 5000
description: >
The password to use when accessing the Managed Service.
example: s3cur3P@ssw0rd
Expand Down Expand Up @@ -13780,20 +13768,10 @@ components:
writeOnly: true
example: aComplexP@ssword
description: |
This will set the root user's password on the newly-created Linode.
The root password must conform to the following constraints:

* May only use alphanumerics, punctuation, spaces, and tabs.
* Must contain at least two of the following characters classes:
* Upper-case letters
* Lower-case letters
* Digits
* Punctuation
This will set the root user's password on the newly-created Linode. Linode passwords have the following constraints:

* Must meet a password strength score requirement that is calculated internally by the API.
If the strength requirement is not met, you will receive a `Password does not meet strength requirement` error.
minLength: 6
maxLength: 128
pattern: ^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[A-Z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[0-9])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\])))
stackscript_id:
type: integer
example: 10079
Expand Down