mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 03:50:45 +02:00
gnu: Add go-github-com-go-fed-httpsig.
* gnu/packages/golang-web.scm (go-github-com-go-fed-httpsig): New variable. Change-Id: I1bde6ed674948e9889460872fa7570c9f82383ec
This commit is contained in:
parent
09a53173a4
commit
be42b21105
1 changed files with 33 additions and 0 deletions
|
@ -2620,6 +2620,39 @@ Features:
|
|||
decompose request handling into many smaller layers.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-go-fed-httpsig
|
||||
(package
|
||||
(name "go-github-com-go-fed-httpsig")
|
||||
(version "1.1.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/go-fed/httpsig")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1h2yk2ih8vrma8zrs1z8bd4r48hbqdwhgbqykrs4siyj9c80ykd2"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/go-fed/httpsig"
|
||||
;; algorithms_test.go:153: "sha1": got true, want false
|
||||
#:test-flags #~(list "-skip" "TestIsAvailable")))
|
||||
(propagated-inputs
|
||||
(list go-golang-org-x-crypto))
|
||||
(home-page "https://github.com/go-fed/httpsig")
|
||||
(synopsis "Golang implementation of the HTTP Signatures RFC draft")
|
||||
(description
|
||||
"This package implements HTTP request and response signing and verification.
|
||||
Supports the major MAC and asymmetric key signature algorithms. It has
|
||||
several safety restrictions: One, none of the widely known
|
||||
non-cryptographically safe algorithms are permitted; Two, the RSA SHA256
|
||||
algorithms must be available in the binary (and it should, barring export
|
||||
restrictions); Finally, the library assumes either the Authorizationn or
|
||||
Signature headers are to be set (but not both).")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public go-github-com-go-http-utils-headers
|
||||
(package
|
||||
(name "go-github-com-go-http-utils-headers")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue