amendments after code-review
This commit is contained in:
parent
8dac2c9d7e
commit
b169aff6af
@ -31,7 +31,7 @@ class HsUnixUserHostingAssetValidator extends HostingAssetEntityValidator {
|
||||
stringProperty("homedir").readOnly().computedBy(HsUnixUserHostingAssetValidator::computeHomedir),
|
||||
stringProperty("totpKey").matchesRegEx("^0x([0-9A-Fa-f]{2})+$").minLength(20).maxLength(256).undisclosed().writeOnly().optional(),
|
||||
passwordProperty("password").minLength(8).maxLength(40).hashedUsing(HashGenerator.Algorithm.LINUX_SHA512).writeOnly());
|
||||
// TODO.spec: private SSH keys?
|
||||
// TODO.spec: public SSH keys?
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user