diff --git a/src/main.c b/src/main.c index 7e76060..c0221db 100644 --- a/src/main.c +++ b/src/main.c @@ -922,8 +922,7 @@ static int gt_setup_secretkey (struct crypto_ctx *ctx, char *keyfile) randombytes_buf(ctx->skey, size); gt_tohex(buf, sizeof(buf), ctx->skey, size); - - gt_print("new secret key: %s\n", buf); + state("SECRETKEY", buf); return 0; }