Re: acme-client: improve account creation error message

2020-09-15 Thread Demi M. Obenour
On 2020-09-15 04:25, Florian Obser wrote: > On Mon, Sep 14, 2020 at 04:26:20PM -0500, Rafael Possamai wrote: >>> please dont drop the all buffer , or keep it with -vv ? >>> example : warnx("%s: bad JSON object:%s", p->newaccount, c->buf.buf); >>> >>> i don't want to ktrace it to see why the new

Re: acme-client: improve account creation error message

2020-09-15 Thread Florian Obser
On Mon, Sep 14, 2020 at 04:26:20PM -0500, Rafael Possamai wrote: > >please dont drop the all buffer , or keep it with -vv ? > >example : warnx("%s: bad JSON object:%s", p->newaccount, c->buf.buf); > > > >i don't want to ktrace it to see why the new certbot version is not working > > Yeah, I think

Re: acme-client: improve account creation error message

2020-09-14 Thread Rafael Possamai
>please dont drop the all buffer , or keep it with -vv ? >example : warnx("%s: bad JSON object:%s", p->newaccount, c->buf.buf); > >i don't want to ktrace it to see why the new certbot version is not working Yeah, I think it's good to have the choice to inspect the vomit, maybe you stumble upon

Re: acme-client: improve account creation error message

2020-09-14 Thread Sven F.
On Mon, Sep 14, 2020 at 9:45 AM Bob Beck wrote: > > But what if I like json and I am already set up to be a hipster and > feed all the untrusted inputs through jq.. > > (ok beck@) > > On Mon, Sep 14, 2020 at 03:37:25PM +0200, Florian Obser wrote: > > not helpful: > > $ doas acme-client

Re: acme-client: improve account creation error message

2020-09-14 Thread Bob Beck
But what if I like json and I am already set up to be a hipster and feed all the untrusted inputs through jq.. (ok beck@) On Mon, Sep 14, 2020 at 03:37:25PM +0200, Florian Obser wrote: > not helpful: > $ doas acme-client $(hostname) > acme-client:

acme-client: improve account creation error message

2020-09-14 Thread Florian Obser
not helpful: $ doas acme-client $(hostname) acme-client: https://api.test4.buypass.no/acme-v02/new-acct: bad HTTP: 400 vomitting unformated json is not better: $ doas acme-client -v $(hostname) acme-client: transfer buffer: [{"type":"urn:ietf:params:acme:error:malformed","detail":"Email is a