Re: How does the parser work?

2023-12-04 Thread Hal Murray via devel
James said: >The host phase of Waf build generates tablegen which in turn generates >keywords.h IIRC. I have no idea how the internals work. I took a look at the code. It looks like there are 2 tables of keywords, one in ntp_keyword.h (build by keyword-gen) and another in

Re: How does the parser work?

2023-12-04 Thread James Browning via devel
On Dec 4, 2023 13:49, James Browning wrote:The host phase of Waf build generates tablegen which in turn generates keywords.h IIRC. I have no idea how the internals work. I seem to recall that tablegen.c was badly scored by Codacy.Oops, keyword-gen and a rated; I need to get my memory

Re: How does the parser work?

2023-12-04 Thread James Browning via devel
On Dec 3, 2023 23:45, Hal Murray via devel wrote: ntp_parser.y contqains: %token     T_Tinker %token     T_Tlsciphers %token     T_Tlsciphersuites I'd expect those tokens to come from the keywords header file. But tlsciphers isn't in the keyword list. tlscipehrswuites is in

Re: Certificate geekery

2023-12-04 Thread Richard Laager via devel
On 2023-12-03 03:22, Hal Murray via devel wrote: I'm working on devel-TODO-NTS. (mostly deleting things) Currently, if a bad guy hacks or arm-twists a certificate authority, they can sign a certificate that the bad guy can use for a MITM attack. Yes, that's how the CA ecosystem works. That