[gnutls-devel] cipher suites
nmav at gnutls.org
Sat Oct 26 19:02:50 CEST 2013
On 10/26/2013 12:15 PM, Stefan Bühler wrote:
> sry, looks like my previous mail accidentally went off list.
> On Fri, 25 Oct 2013 19:58:29 +0200
> Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
>>> I just went for it and tried to verify the ids (involving piping
>>> your ciphersuites.c through the preprocessor, some iterations of
>>> (g)awk, sed, sort, cut, column and using saxonsb on the
>>> the help of nodejs...):
>> Could this be automated somehow so it could be added in the
> I extracted the code and put it into a gist:
> Depending on saxonb and nodejs for (default) tests seems wrong though.
> should be "easy", but getting rid of saxonb is probably hard; parsing
> xml is no fun :)
Thank you that's very useful. I've added it to the tests that are run
only in the git repository (i.e., by me prior to release) so the
dependencies are fine. Is there a way for nodejs to return a different
error code than zero on error (e.g. a mismatch)?
> Also the test should use the current
> http://www.iana.org/assignments/tls-parameters/tls-parameters.xml, but
> in automated build environments you often have no internet connection
This can be updated periodically when new ciphersuites are added so it's
not a big issue.
> I used the same/similar code to generate (parts of) these files:
That would be also useful to add in case tls-parameters.xml changes.
More information about the Gnutls-devel