We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d7ab2 commit 39c30c7Copy full SHA for 39c30c7
internal/dataprovider/node.go
@@ -99,7 +99,7 @@ func (n *NodeData) validate() error {
99
if n.Proto != NodeProtoHTTP && n.Proto != NodeProtoHTTPS {
100
return util.NewValidationError(fmt.Sprintf("invalid node proto: %s", n.Proto))
101
}
102
- n.Key = kms.NewPlainSecret(util.GenerateUniqueID())
+ n.Key = kms.NewPlainSecret(util.GenerateOpaqueString())
103
n.Key.SetAdditionalData(n.Host)
104
if err := n.Key.Encrypt(); err != nil {
105
return fmt.Errorf("unable to encrypt node key: %w", err)
0 commit comments