-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Area: networkArea: NetworkingArea: NetworkingArea: securityArea: Security-related libraries and subsystemsArea: Security-related libraries and subsystemsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Milestone
Description
Description
The example program fails silently when using ECC credentials instead of the default (PSK) . PSK still works. On native
both PSK and ECC works.
Steps to reproduce the issue
- Uncomment the line
CFLAGS += -DDTLS_ECC
in the Makefile - Compile and flash on two
samr21-xpro
nodes - On the server node, start the server with
dtlss start
- On the client node, send a message to the server node:
dtlsc <ip of server node> HALLO
Expected results
On the client shell:
Client: got DTLS Data App -- HALLO --
On the server shell:
Server: got DTLS Data App: --- HALLO --- (echo!)
Actual results
Nothing on both client and server. On the client, the shell hangs for a few seconds while processing and then prompts for new shell input.
Versions
Tested with current master
(3f25c43) on samr21-xpro
boards.
make print-versions
:
Operating System Environment
-----------------------------
Operating System: "Ubuntu" "19.04 (Disco Dingo)"
Kernel: Linux 5.0.0-20-generic x86_64 x86_64
Installed compiler toolchains
-----------------------------
native gcc: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0
arm-none-eabi-gcc: arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 8-2018-q4-major) 8.2.1 20181213 (release) [gcc-8-branch revision 267074]
avr-gcc: missing
mips-mti-elf-gcc: missing
msp430-gcc: missing
riscv-none-embed-gcc: missing
xtensa-esp32-elf-gcc: missing
xtensa-lx106-elf-gcc: missing
clang: missing
Installed compiler libs
-----------------------
arm-none-eabi-newlib: "3.0.0"
mips-mti-elf-newlib: missing
riscv-none-embed-newlib: missing
xtensa-esp32-elf-newlib: missing
xtensa-lx106-elf-newlib: missing
avr-libc: missing (missing)
Installed development tools
---------------------------
cmake: cmake version 3.13.4
cppcheck: Cppcheck 1.86
doxygen: 1.8.13
flake8: 3.6.0 (mccabe: 0.6.1, pycodestyle: 2.4.0, pyflakes: 2.0.0) CPython 3.7.3 on Linux
git: git version 2.20.1
make: GNU Make 4.2.1
openocd: Open On-Chip Debugger 0.10.0
python: Python 2.7.16
python2: Python 2.7.16
python3: Python 3.7.3
coccinelle: spatch version 1.0.4 with Python support and with PCRE support
Metadata
Metadata
Assignees
Labels
Area: networkArea: NetworkingArea: NetworkingArea: securityArea: Security-related libraries and subsystemsArea: Security-related libraries and subsystemsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)