Add support for 64 characters keys, generated by openssl rand -hex 32

This commit is contained in:
Logeshwarsn
2022-06-14 12:52:24 +05:30
parent a3b97e4b63
commit d8a72bb1c2
2 changed files with 8 additions and 8 deletions

View File

@@ -248,11 +248,11 @@
"password": "Artifactory master Key",
"confirmPassword": "Confirm master Key"
},
"toolTip": "Master key for Artifactory cluster. Generate master.key using command '$openssl rand -hex 16'",
"toolTip": "Master key for Artifactory cluster. Generate master.key using command '$openssl rand -hex 32'",
"constraints": {
"required": true,
"regex": "^[a-z0-9A-Z]{12,32}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 1-32 characters long."
"regex": "^[a-z0-9A-Z]{12,64}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 1-64 characters long."
},
"options": {
"hideConfirmation": true
@@ -265,11 +265,11 @@
"password": "Artifactory join Key",
"confirmPassword": "Confirm join Key"
},
"toolTip": "Join key for Artifactory cluster. Generate join.key using command '$openssl rand -hex 16'",
"toolTip": "Join key for Artifactory cluster. Generate join.key using command '$openssl rand -hex 32'",
"constraints": {
"required": false,
"regex": "^[a-z0-9A-Z]{12,32}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 1-32 characters long."
"regex": "^[a-z0-9A-Z]{12,64}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 1-64 characters long."
},
"options": {
"hideConfirmation": true

View File

@@ -114,14 +114,14 @@
"type": "securestring",
"maxLength": 64,
"metadata": {
"description": "Master key for Artifactory cluster. Generate master.key using command '$openssl rand -hex 16'"
"description": "Master key for Artifactory cluster. Generate master.key using command '$openssl rand -hex 32'"
}
},
"joinKey": {
"type": "securestring",
"maxLength": 64,
"metadata": {
"description": "Join key for Artifactory cluster. Generate join.key using command '$openssl rand -hex 16'"
"description": "Join key for Artifactory cluster. Generate join.key using command '$openssl rand -hex 32'"
}
},
"adminUsername": {