Commit Graph

8 Commits

Author SHA1 Message Date
Yawning Angel
19f5a37fe4 build: Update the dependencies (again)
golang.org/x/tools pulling in some third party markdown parser from
github is spooky, but as far as I can tell, is ok (and not actually
used).
2023-10-05 21:36:04 +09:00
Yawning Angel
efdc692691 obfs4: Clean up and modernize the codebase
While the thought of dealing with this codebase makes me reach for the
Benzodiazepines, I might as well clean this up.
2023-07-23 12:12:56 +09:00
Yawning Angel
ef832041b7 doc: Add a changelog entry and clarified a comment (NFC) 2022-09-04 06:38:30 +00:00
Yawning Angel
d5a51619eb doc: Correct why the obfs4 change is backward compatible (NFC) 2022-01-27 07:55:29 +00:00
Yawning Angel
0f7ce7e653 fixup! internal/x25519ell2: Initial import
Fix a comment, no functional changes.
2022-01-01 09:29:51 +00:00
Yawning Angel
c083c6309a internal/x25519ell2: Add a canonical import path annotation 2021-12-31 06:33:11 +00:00
Yawning Angel
393aca86cc internal/x25519ell2: Initial import
Replace agl's Elligator2 implementation with a different one, that fixes
the various distinguishers stemming from bugs in the original
implementation and "The Elligator paper is extremely hard to read".

All releases prior to this commit are trivially distinguishable with
simple math, so upgrading is strongly recommended.  The upgrade is fully
backward-compatible with existing implementations, however the
non-upgraded side will emit traffic that is trivially distinguishable
from random.

Special thanks to Loup Vaillant for his body of work on this primitive,
and for motivating me to fix it.
2021-12-31 02:36:56 +00:00
Yawning Angel
2d8f3c8bbf common: Replace the extra25519 import with an internal package
I really didn't want to do this, but this should make `go get` work
again, and maybe people will leave me alone.
2020-04-10 11:36:29 +00:00