Commit Diff


commit - 5acd8b1ba0702aa96c36c49046bdaada3f78008d
commit + d32587396427e2e5dba703667d4bb7cd5bb4ad59
blob - 3a4c9f3702941c23870d1ae896e7543ff66b598b
blob + 938a7256549daa2352ef4914842a810d452606da
--- sign.go
+++ sign.go
@@ -14,8 +14,6 @@ import (
 	"time"
 )
 
-const requiredSigHeaders = "(request-target) host date digest"
-
 // Sign signs the given HTTP request with the matching private key of the
 // public key available at pubkeyURL.
 func Sign(req *http.Request, key *rsa.PrivateKey, pubkeyURL string) error {