Change tag
This commit is contained in:
parent
6bc1ce6679
commit
1af1d774d3
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
|
@ -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",
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue