diff options
| author | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-06-02 08:29:49 +0200 | 
|---|---|---|
| committer | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-06-02 08:36:35 +0200 | 
| commit | 279de6a1195adb739a8d1f2afb445b68793b28b8 (patch) | |
| tree | a6f72f890fb04d4ee5a55563bd83d8855e1a108d /pkg/policy | |
| parent | 32b81ec4777ede7fdb4e0172c0011e238bdacb60 (diff) | |
chore: Remove dash in project name
To be consistent with naming of the tools in cmd/.
Diffstat (limited to 'pkg/policy')
| -rw-r--r-- | pkg/policy/node.go | 2 | ||||
| -rw-r--r-- | pkg/policy/wildcard.go | 2 | 
2 files changed, 2 insertions, 2 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[:]) diff --git a/pkg/policy/wildcard.go b/pkg/policy/wildcard.go index abea841..c67e1d9 100644 --- a/pkg/policy/wildcard.go +++ b/pkg/policy/wildcard.go @@ -6,7 +6,7 @@ import (  	"strings"  	"time" -	"rgdd.se/silent-ct/pkg/crtutil" +	"rgdd.se/silentct/pkg/crtutil"  )  // Wildcards implement the monitor.Matcher interface for a list of wildcards. | 
