aboutsummaryrefslogtreecommitdiff
path: root/pkg/policy/node.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2024-06-02 08:29:49 +0200
committerRasmus Dahlberg <rasmus@rgdd.se>2024-06-02 08:36:35 +0200
commit279de6a1195adb739a8d1f2afb445b68793b28b8 (patch)
treea6f72f890fb04d4ee5a55563bd83d8855e1a108d /pkg/policy/node.go
parent32b81ec4777ede7fdb4e0172c0011e238bdacb60 (diff)
chore: Remove dash in project name
To be consistent with naming of the tools in cmd/.
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[:])