unetd: cli: add support for changing network password
authorFelix Fietkau <nbd@nbd.name>
Sat, 15 Mar 2025 20:55:10 +0000 (21:55 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 17 Mar 2025 12:17:14 +0000 (13:17 +0100)
commit1be7036f696e2a92cdbd1eb8014174678addf16f
treea888c2f1d94822f4bb3983ff8348702f8273d17d
parent2055b73ba4b9a63973568104e86171a6bb47d61d
unetd: cli: add support for changing network password

This does not actually create a new private key. Instead, the salt is replaced,
and a xor key is generated which when merged with the key derived from the new
password transforms into the original private key.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/unetd/files/unet.uc