From ef2dd72105ce1389519637f998780eb6d8b988b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Mon, 27 Mar 2023 11:54:51 +0200 Subject: [PATCH] add base64 method of specifying channel PSK --- docs/configuration/device-config/channels.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/configuration/device-config/channels.mdx b/docs/configuration/device-config/channels.mdx index f18b0c5a..1ef1d670 100644 --- a/docs/configuration/device-config/channels.mdx +++ b/docs/configuration/device-config/channels.mdx @@ -187,6 +187,14 @@ meshtastic --ch-set psk simple15 --ch-index 0 meshtastic --ch-set psk 0x1a1a1a1a2b2b2b2b1a1a1a1a2b2b2b2b1a1a1a1a2b2b2b2b1a1a1a1a2b2b2b2b --ch-index 0 ``` +```shell title="Set encryption to your own key on PRIMARY channel (Base64 encoded)" +meshtastic --ch-set psk base64:puavdd7vtYJh8NUVWgxbsoG2u9Sdqc54YvMLs+KNcMA= --ch-index 0 +``` + +:::tip +Use this to copy and paste the `base64` encoded (single channel) key from the meshtastic --info command. Please dont use the omnibus (all channels) code here, it is not a valid key. +::: + ```shell title="Disable encryption on PRIMARY channel" meshtastic --ch-set psk none --ch-index 0 ```