amendments after code-review

This commit is contained in:
Michael Hoennig 2024-07-12 10:54:15 +02:00
parent 8dac2c9d7e
commit b169aff6af

View File

@ -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