[noise] Protocol Names
rhys.weatherley at gmail.com
Fri Jun 16 17:07:37 PDT 2017
On Sat, Jun 17, 2017 at 6:46 AM, Trevor Perrin <trevp at trevp.net> wrote:
> On Fri, Jun 16, 2017 at 8:31 PM, Rhys Weatherley
> <rhys.weatherley at gmail.com> wrote:
> > Perhaps an ABNF grammar for the protocol name would be useful as well to
> > make the syntax super-precise?
> Seems worth considering if someone wants to take a stab at it (I don't
> have a strong opinion or a lot of experience with ABNF).
Here ya go:
In the ABNF grammar I included your suggestion of "/" as an algorithm name
character, but have not included parenthesised names yet. Parentheses
would make it hard to use standard language string split("_") functions to
parse protocol names. IMHO.
I also modified the pattern dictionary, Python scripts, and the HFS spec,
to match rev32. The scripts can be used to mechanically apply 'fallback',
'pskN', and 'hfs' modifiers to patterns. For example, to get all possible
"fallback+hfs+psk1" variations on the standard base patterns:
./transform_fallback.py ../patterns/noise-revision-32.txt | \
./transform_hfs.py - | \
./transform_psk.py 1 -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Noise