Change tag

This commit is contained in:
cheddar 2025-02-16 13:51:12 -05:00
parent 6bc1ce6679
commit 1af1d774d3
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ func GetSigningClient(key crypto.PrivateKey, keyId string) (*http.Client, error)
}
client := httpsig.NewClient(httpsig.ClientOpts{
Tag: "test-tag",
Tag: "auth",
KeyID: keyId,
Alg: alg,
})

View file

@ -28,7 +28,7 @@ func Start(publicKey crypto.PublicKey) error {
verifier := httpsig.Middleware(httpsig.MiddlewareOpts{
NonceStorage: inmemory.NewNonceStorage(),
KeyDirectory: &keyDir,
Tag: "test-tag",
Tag: "auth",
Scheme: "http",
Authority: "localhost:8080",