Conversation
Confirmed.
|
Bisected using the following script ( #! /usr/bin/env python3
import sys
from riotctrl.ctrl import RIOTCtrl
sys.path.append("dist/pythonlibs")
from riotctrl_shell.netif import IfconfigListParser, Ifconfig
if __name__ == "__main__":
RIOTCtrl.MAKE_ARGS = ("-j",)
ctrl0 = RIOTCtrl(application_directory="examples/dtls-echo", env={"WERROR": "0"})
ctrl1 = RIOTCtrl(
application_directory="examples/dtls-echo", env={"PORT": "tap1", "WERROR": "0"}
)
ctrl0.make_run(["distclean", "flash"])
with ctrl0.run_term(reset=False), ctrl1.run_term(reset=False):
ctrl0.term.logfile = sys.stdout
ctrl1.term.logfile = sys.stdout
shell0 = Ifconfig(ctrl0)
shell1 = Ifconfig(ctrl1)
netifs = IfconfigListParser().parse(shell1.ifconfig_list())
server_addr = list(netifs.values())[0]["ipv6_addrs"][0]["addr"]
res = shell1.cmd("dtlss start")
assert res.strip() == "dtlss start"
res = shell0.cmd(f"dtlsc {server_addr} hello")
assert "Client: got DTLS Data App -- hello --" in resgit bisect good 9a2ccd51f45d78613432c724dbf3c
git bisect bad master
git bisect run python3 test_dtls.pyThis found d424aae to introduce the regression. Seems like the functionality was not tested in #17765 |
Contribution description
All our patches got merged, so we can drop them.
I did not find an upstream commit/PR forThis patch was applied upstream too, it was just squashed - #17878 (comment)0006-crypto-only-one-HMAC-context-is-required.patch, but it also no longer applies, so I dropped it.Testing procedure
examples/gcoap_dtlsstill worksIssues/PRs references