diff options
| author | 2025-01-15 06:45:39 +0100 | |
|---|---|---|
| committer | 2025-01-15 06:45:39 +0100 | |
| commit | f4a2add31008a5d3a42fe8b7780f3ee6716d7940 (patch) | |
| tree | f97b519467a4ceb023b0b30c2b1f2fdb18050257 /utils.c | |
| parent | Don't describe as 'fatal' what are just non-retriable connection errors. (diff) | |
| download | penes-snac2-f4a2add31008a5d3a42fe8b7780f3ee6716d7940.tar.gz penes-snac2-f4a2add31008a5d3a42fe8b7780f3ee6716d7940.tar.xz penes-snac2-f4a2add31008a5d3a42fe8b7780f3ee6716d7940.zip | |
Reduced RSA key size to 2048.
Diffstat (limited to '')
| -rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -330,7 +330,7 @@ int adduser(const char *uid) | |||
| 330 | } | 330 | } |
| 331 | 331 | ||
| 332 | printf("\nCreating RSA key...\n"); | 332 | printf("\nCreating RSA key...\n"); |
| 333 | key = xs_evp_genkey(4096); | 333 | key = xs_evp_genkey(2048); |
| 334 | printf("Done.\n"); | 334 | printf("Done.\n"); |
| 335 | 335 | ||
| 336 | xs *kfn = xs_fmt("%s/key.json", basedir); | 336 | xs *kfn = xs_fmt("%s/key.json", basedir); |