luci-app-snmpd: add strong SNMPv3 crypto options
authorMichael Pfeifroth <redacted>
Mon, 20 Apr 2026 10:00:48 +0000 (12:00 +0200)
committerFlorian Eckert <redacted>
Tue, 16 Jun 2026 09:49:51 +0000 (11:49 +0200)
commit81ce1ad9639eb87dc2fe811e2ae15c7ef2d19531
tree7b3dc339f381dbaa2e1042a52166451e0d0cf7b0
parent4f4a69ea6127ab9f6f3648a1a942b8f7d1f08930
luci-app-snmpd: add strong SNMPv3 crypto options

Add SHA-256, SHA-384, SHA-512, SHA-224 authentication and AES-192,
AES-256 encryption options to the SNMPv3 user configuration.

net-snmp has supported these algorithms for a while, but the LuCI
dropdown only offered SHA(-1), MD5, AES(-128) and DES. Modern security
standards (e.g. EN 18031 CCK-1) require at least 112-bit security
strength, which rules out SHA-1 (80-bit) and DES (56-bit).

The default authentication type is changed from SHA to SHA-256.

The init script already passes auth_type and privacy_type directly to
net-snmp's createUser, so no backend changes are needed.

Signed-off-by: Michael Pfeifroth <redacted>
applications/luci-app-snmpd/htdocs/luci-static/resources/view/snmpd/snmpd.js
git clone https://git.99rst.org/PROJECT