CVS commit: src/tests/net/if_wg

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	riastradh
Date:		Mon Jun 22 22:24:36 UTC 2026

Modified Files:
	src/tests/net/if_wg: common.sh t_basic.sh

Log Message:
wg(4): Add test case for bad ephemeral handshake public keys.

wg(4) should not crash on an assertion if they appear on the network;
it should just gracefully drop them as forgeries, if a MITM attempted
to send them without knowledge of a peer's public key, or accept
them, if a peer legitimately sent them, since that peer could just as
well simply forward the plaintext of the session on to the NSA.

PR kern/60106: wg(4) should properly handle invalid or insecure
ephemeral Curve25119 public keys


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/net/if_wg/common.sh
cvs rdiff -u -r1.7 -r1.8 src/tests/net/if_wg/t_basic.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.