allow adding a raw key

This commit is contained in:
Mikaël Cluseau
2026-03-16 11:08:16 +01:00
parent 06a87a6d07
commit 1ad9785d07
7 changed files with 56 additions and 11 deletions

View File

@@ -24,6 +24,7 @@ type State struct {
Store struct {
DownloadToken string
KeyNames []string
Salt []byte
}
Clusters []ClusterState
@@ -157,6 +158,7 @@ func updateState() {
wState.Change(func(v *State) {
v.HasConfig = true
v.Store.KeyNames = keyNames
v.Store.Salt = secStore.Salt[:]
v.Clusters = clusters
v.Hosts = hosts
v.HostTemplates = hostTemplates