You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mike 21bb72cb63 7jlh0w 4 weeks ago
LICENSE 26m2sg 4 weeks ago 7jlh0w 4 weeks ago
blake2s.l 26m2sg 4 weeks ago
functions.l 26m2sg 4 weeks ago
main.l 26m2sg 4 weeks ago
monocypher_ietf.patch 26m2sg 4 weeks ago
test-all.l 26m2sg 4 weeks ago
test-funcs.l 26m2sg 4 weeks ago
test-phase1.l 26m2sg 4 weeks ago

Wireguard (IK pattern) from Noise protocol framework on PicoLisp.

Mimics of any script from Wireguard’s distribution.

How to repeat:

  • PicoLisp installed (64bit only)
  • Download Monocypher 2.0.5 and apply patch from repo (patch from author)
  • Install as shared library
  • test-all.l should pass tests then
  • run main.l and tcpdump
  • and you will see: two packets are handshake, two packets are send and receive pings, last keepalive
16:14:22.715850 IP > UDP, length 148
16:14:22.767553 IP > UDP, length 92
16:14:22.787473 IP > UDP, length 80
16:14:22.837615 IP > UDP, length 80
16:14:22.837830 IP > UDP, length 32
  • if you see ‘OK’ then all tests passed.

Note: test-phase1.l is minimum required handshake on place.