feat(nodes): opt-in encryption at rest for the outbound node API token (#6186)

* node: encrypt outbound bearer token at rest

* fix(nodes): keep bearer tokens encrypted throughout

---------

Co-authored-by: n0ctal <293235942+n0ctal@users.noreply.github.com>
This commit is contained in:
n0ctal
2026-08-15 19:48:50 +05:00
committed by GitHub
parent 8e7fb144ee
commit 1793a9b8b4
9 changed files with 982 additions and 15 deletions
+12
View File
@@ -0,0 +1,12 @@
package main
import (
"strings"
"testing"
)
func TestCommandHelpListsEncryptTokens(t *testing.T) {
if help := commandHelp(); !strings.Contains(help, "encrypt-tokens") {
t.Fatalf("command help omits encrypt-tokens:\n%s", help)
}
}