From ad8c2676bf791cb881b4d30821ea259b995a6c80 Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Thu, 10 Oct 2024 09:39:36 +0000 Subject: Always print account URI on first creation of an account key. This was hidden behind -v but it seems useful to always have this when creating a new account. As sthen points out in his previous commit: This is useful if you want to set a CAA DNS record restricting issuance to a specific user account. OK deraadt --- usr.sbin/acme-client/netproc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/acme-client/netproc.c b/usr.sbin/acme-client/netproc.c index 79dcadf3873..f67f8abc0b3 100644 --- a/usr.sbin/acme-client/netproc.c +++ b/usr.sbin/acme-client/netproc.c @@ -1,4 +1,4 @@ -/* $Id: netproc.c,v 1.36 2024/10/07 23:47:00 sthen Exp $ */ +/* $Id: netproc.c,v 1.37 2024/10/10 09:39:35 florian Exp $ */ /* * Copyright (c) 2016 Kristaps Dzonsons * @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -386,7 +387,7 @@ donewacc(struct conn *c, const struct capaths *p, const char *contact) if (c->kid != NULL) { if (stravis(&accturi, c->kid, VIS_SAFE) != -1) - dodbg("account key: %s", accturi); + printf("account key: %s\n", accturi); free(accturi); } -- cgit v1.2.3