mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 07:27:59 -08:00
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
This commit is contained in:
parent
2a59c28f1e
commit
f2270df8ab
@ -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 <kristaps@bsd.lv>
|
||||
*
|
||||
@ -19,6 +19,7 @@
|
||||
#include <ctype.h>
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user