mirror of
https://github.com/angt/secret
synced 2025-01-31 19:57:34 +01:00
Generate 25 characters secrets
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
parent
6e548dcbf8
commit
ddbe7cf3f3
1 changed files with 1 additions and 1 deletions
2
secret.c
2
secret.c
|
@ -374,7 +374,7 @@ s_do(int argc, char **argv, void *data)
|
|||
unsigned char secret[S_ENTRYSIZE];
|
||||
|
||||
if (op->generate) {
|
||||
size_t len = 24;
|
||||
size_t len = 25;
|
||||
hydro_memzero(secret, sizeof(secret));
|
||||
hydro_random_buf(secret, len);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue