feat(derive-secret): restrict derived secret length

This commit is contained in:
shimun 2024-01-01 21:58:52 +01:00
parent 28b19e422b
commit 5e33715730
No known key found for this signature in database
GPG Key ID: E0420647856EA39E
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ with lib; let
default = "A-Za-z0-9_";
};
length = mkOption {
type = types.int;
type = types.ints.between 1 1024;
default = 32;
};
};