Skip to content

Commit fadd93d

Browse files
authored
Merge pull request #298 from hzoppetti/password-to-entropy
[Update] password complexity rule change
2 parents a3a4537 + 847a4af commit fadd93d

File tree

1 file changed

+3
-25
lines changed

1 file changed

+3
-25
lines changed

openapi.yaml

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4631,15 +4631,7 @@ paths:
46314631
description: >
46324632
The new root password for the OS installed on this Disk.
46334633

4634-
The password must contain at least two of these four
4635-
character classes:
4636-
4637-
* lowercase letters
4638-
* uppercase letters
4639-
* numbers
4640-
* punctuation
4641-
minLength: 6
4642-
maxLength: 128
4634+
The password must meet the complexity strength validation requirements for a strong password.
46434635
example: another@complex^Password123
46444636
responses:
46454637
'200':
@@ -7642,8 +7634,6 @@ paths:
76427634
example: johndoe
76437635
password:
76447636
type: string
7645-
minLength: 0
7646-
maxLength: 5000
76477637
description: >
76487638
The password to use when accessing the Managed Service.
76497639
example: s3cur3P@ssw0rd
@@ -7799,8 +7789,6 @@ paths:
77997789
example: johndoe
78007790
password:
78017791
type: string
7802-
minLength: 0
7803-
maxLength: 5000
78047792
description: >
78057793
The password to use when accessing the Managed Service.
78067794
example: s3cur3P@ssw0rd
@@ -13829,20 +13817,10 @@ components:
1382913817
writeOnly: true
1383013818
example: aComplexP@ssword
1383113819
description: |
13832-
This will set the root user's password on the newly-created Linode.
13833-
The root password must conform to the following constraints:
13834-
13835-
* May only use alphanumerics, punctuation, spaces, and tabs.
13836-
* Must contain at least two of the following characters classes:
13837-
* Upper-case letters
13838-
* Lower-case letters
13839-
* Digits
13840-
* Punctuation
13820+
This will set the root user's password on the newly-created Linode. Linode passwords have the following constraints:
13821+
1384113822
* Must meet a password strength score requirement that is calculated internally by the API.
1384213823
If the strength requirement is not met, you will receive a `Password does not meet strength requirement` error.
13843-
minLength: 6
13844-
maxLength: 128
13845-
pattern: ^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[A-Z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[0-9])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\])))
1384613824
stackscript_id:
1384713825
type: integer
1384813826
example: 10079

0 commit comments

Comments
 (0)