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{ client := httpsig.NewClient(httpsig.ClientOpts{
Tag: "test-tag", Tag: "auth",
KeyID: keyId, KeyID: keyId,
Alg: alg, Alg: alg,
}) })

View file

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