Ian Jackson writes ("Re: Bug#932570: dgit should pin to the LE CA for 
ftpmasterapi"):
> If I had done this I might well do:
>   1. split up api_query into api_query_raw that doesn't do
>      decode json, which is called by a small new api_query
>   2. make cmd_archive_api_query use api_query, so now
>      archive_api_query_cmd has one caller
>   3. abolish archive_api_query_cmd and make api_query_raw use
>      LWP rather than execing curl etc.

I have done 1 and 2 and that is in salsa/master.

I'm working on changing it to use LWP (without, right now, making any
other functional change).

We spoke yesterday about the testing of this, and you mentioned some
Perl test https server.  Can you remind me of the Perl module name ?

Also you said you had some examples of how to set up a dummy test CA.

Thanks,
Ian.

Reply via email to