Commit 72ce018a authored by Niels Möller's avatar Niels Möller
Browse files

(main_argp_parser): By default, don't encrypt symmetric keys.

Rev: src/lsh-keygen.c:1.27
parent 47c5dfaa
......@@ -202,7 +202,7 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
/* Default behaviour is to encrypt the key unless running in
server mode. */
if (!self->crypto_name && !self->server)
if (!self->crypto_name && !self->server && self->algorithm != 's')
{
self->crypto_name = ATOM_AES256_CBC;
self->crypto = &crypto_aes256_cbc_algorithm;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment