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{
|
||||
Tag: "test-tag",
|
||||
Tag: "auth",
|
||||
KeyID: keyId,
|
||||
Alg: alg,
|
||||
})
|
||||
|
|
|
@ -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",
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue