aboutsummaryrefslogtreecommitdiff
path: root/pkg/policy/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/policy/node.go')
-rw-r--r--pkg/policy/node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/policy/node.go b/pkg/policy/node.go
index 23f04ca..607dbc3 100644
--- a/pkg/policy/node.go
+++ b/pkg/policy/node.go
@@ -84,7 +84,7 @@ func (n *Node) HMAC(data []byte) (mac [sha256.Size]byte, err error) {
}
func (n *Node) deriveKey() error {
- const salt = "silent-ct"
+ const salt = "silentct"
hkdf := hkdf.New(sha256.New, []byte(n.Secret), []byte(salt), []byte(n.Name))
_, err := io.ReadFull(hkdf, n.key[:])