Files
openwrt/package/network
Josef Schlehofer c6c02f7e79 uhttpd: use hexdump -v for the certificate ID
uhttpd.init appends four random bytes as hex digits to the default
organization of its self-signed certificate. Without -v, hexdump prints
"*" instead of repeated lines, and with the format used here each byte
is a line of its own. When adjacent bytes are equal, the organization
gets a "*" instead of the repeated bytes, followed by a newline if more
bytes follow. For example 8b 35 35 ba gives "OpenWrt8b35*", a newline
and "ba". This happens for about 1 in 86 generated certificates.

Pass -v to hexdump, so all four bytes are printed.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/25628
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-10-05 19:42:19 +02:00
..