sig-auth.git

git clone https://git.crispbyte.dev/sig-auth.git

commit
1af1d77
parent
6bc1ce6
author
cheddar
date
2025-02-16 19:51:12 +0100 CET
Change tag
2 files changed,  +2, -2
M client/client.go
+1, -1
1@@ -31,7 +31,7 @@ func GetSigningClient(key crypto.PrivateKey, keyId string) (*http.Client, error)
2 	}
3 
4 	client := httpsig.NewClient(httpsig.ClientOpts{
5-		Tag:   "test-tag",
6+		Tag:   "auth",
7 		KeyID: keyId,
8 		Alg:   alg,
9 	})
M server/server.go
+1, -1
1@@ -28,7 +28,7 @@ func Start(publicKey crypto.PublicKey) error {
2 	verifier := httpsig.Middleware(httpsig.MiddlewareOpts{
3 		NonceStorage: inmemory.NewNonceStorage(),
4 		KeyDirectory: &keyDir,
5-		Tag:          "test-tag",
6+		Tag:          "auth",
7 		Scheme:       "http",
8 		Authority:    "localhost:8080",
9