It appears that, sometime in the early development of the config
file stuff, there was a different syntax for what is now "sign with".
A couple of error messages refer to "use" [but should not].
Ross
Index: parse.y
===================================================================
RCS file: /cvs/src/usr.sbin/acme-client/parse.y,v
retrieving revision 1.26
diff -u -p -r1.26 parse.y
--- parse.y 29 Jul 2018 12:46:31 -0000 1.26
+++ parse.y 3 Aug 2018 12:05:16 -0000
@@ -326,13 +326,13 @@ domainoptsl : ALTERNATIVE NAMES '{' altn
| SIGN WITH STRING {
char *s;
if (domain->auth != NULL) {
- yyerror("duplicate use");
+ yyerror("duplicate sign with");
YYERROR;
}
if ((s = strdup($3)) == NULL)
err(EXIT_FAILURE, "strdup");
if (authority_find(conf, s) == NULL) {
- yyerror("use: unknown authority");
+ yyerror("sign with: unknown authority");
free(s);
YYERROR;
}