Re: acme-client config grammar improvements

2020-07-24 Thread sven falempin
On Fri, Jul 24, 2020 at 10:47 AM Florian Obser wrote: > On Thu, Jul 16, 2020 at 07:40:35AM +0200, Daniel Eisele wrote: > > Also it would be nice to have a feature to update all domains of the > > config file. I currently do that in a shell script by parsing the output > > of acme-client -nv with

Re: acme-client config grammar improvements

2020-07-24 Thread Florian Obser
On Thu, Jul 16, 2020 at 07:40:35AM +0200, Daniel Eisele wrote: > Also it would be nice to have a feature to update all domains of the > config file. I currently do that in a shell script by parsing the output > of acme-client -nv with sed and then calling acme-client multiple times. > > Maybe an e

Re: acme-client config grammar improvements

2020-07-24 Thread Florian Obser
On Tue, Jul 21, 2020 at 10:24:25PM +0200, Sebastian Benoit wrote: > Daniel Eisele(daniel_eis...@gmx.de) on 2020.07.16 07:40:35 +0200: > > Am 15.07.2020 um 23:51 schrieb Sebastian Benoit: > > >> src/usr.sbin/acme-client/parse.y: > > >> * The grammar allows the user to omit the newline after the firs

Re: acme-client config grammar improvements

2020-07-21 Thread Sebastian Benoit
Daniel Eisele(daniel_eis...@gmx.de) on 2020.07.16 07:40:35 +0200: > Am 15.07.2020 um 23:51 schrieb Sebastian Benoit: > >> src/usr.sbin/acme-client/parse.y: > >> * The grammar allows the user to omit the newline after the first line > >> in a domain or authority block. > > > > Yes. I'm still pnode

Re: acme-client config grammar improvements

2020-07-15 Thread Daniel Eisele
Am 16.07.2020 um 07:49 schrieb Paul de Weerd: > What I have is this: > > for DOMAIN in `awk '/^domain/ {print $2}' /etc/acme-client.conf` My script is similar to this... > As I need to update OCSP staples per domain anyway, doing a per-domain > song-and-dance makes sense for me. Since I set the

Re: acme-client config grammar improvements

2020-07-15 Thread Paul de Weerd
On Thu, Jul 16, 2020 at 07:40:35AM +0200, Daniel Eisele wrote: | Also it would be nice to have a feature to update all domains of the | config file. I currently do that in a shell script by parsing the output | of acme-client -nv with sed and then calling acme-client multiple times. What I have is

Re: acme-client config grammar improvements

2020-07-15 Thread Daniel Eisele
Am 15.07.2020 um 23:51 schrieb Sebastian Benoit: >> src/usr.sbin/acme-client/parse.y: >> * The grammar allows the user to omit the newline after the first line >> in a domain or authority block. > > Yes. I'm still pnodering this. What are the chances that someone does that? > > Probably no one do

Re: acme-client config grammar improvements

2020-07-15 Thread Sebastian Benoit
Daniel Eisele(daniel_eis...@gmx.de) on 2020.07.15 09:32:37 +0200: > Hi, > > I'm currently porting acme-client to FreeBSD and while doing that I've > noticed a few small issues. > > src/usr.sbin/acme-client/parse.y: > * The grammar allows the user to omit the newline after the first line > in a

acme-client config grammar improvements

2020-07-15 Thread Daniel Eisele
Hi, I'm currently porting acme-client to FreeBSD and while doing that I've noticed a few small issues. src/usr.sbin/acme-client/parse.y: * The grammar allows the user to omit the newline after the first line in a domain or authority block. * The grammar uses right recursion for lists, left rec