From 02f849ad7a2cbaf2454628cca50de8987defb189 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Thu, 18 Mar 2021 17:28:07 +0000 Subject: gnu: s2n: Update to 1.0.10-7f43b102. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tls.scm (s2n): Update to 1.0.10-7f43b102. [source, home-page]: Remove URL redirect. [arguments]: Enable testing. Signed-off-by: Ludovic Courtès --- gnu/packages/tls.scm | 56 ++++++++++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'gnu/packages/tls.scm') diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 69ed9de11f..564e52086a 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -1141,39 +1141,39 @@ derived from Mozilla's collection.") (license license:mpl2.0)))) (define-public s2n - (package - (name "s2n") - (version "1.0.10") - (source (origin - (method git-fetch) - (uri (git-reference - (url (string-append "https://github.com/awslabs/" name)) - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0ampvh2n235hhd9nabgjjvja7d5r5kj45q56ass1k8g52a6xg0jq")))) - (build-system cmake-build-system) - (arguments - '(#:tests? #f ; tests fail to build for static library - #:configure-flags - '("-DBUILD_TESTING=OFF" - "-DBUILD_SHARED_LIBS=ON"))) - (propagated-inputs - `(("openssl" ,openssl) - ("openssl:static" ,openssl "static"))) - (synopsis "SSL/TLS implementation in C99") - (description - "This library provides a C99 implementation of SSL/TLS. It is designed to -be familiar to users of the widely-used POSIX I/O APIs. It supports blocking, -non-blocking, and full-duplex I/O. There are no locks or mutexes. + (let* ((commit "7f43b102def1d52422f6c3e48d5cb3e6dd26c646") + (revision "1")) + (package + (name "s2n") + (version (git-version "1.0.10" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aws/s2n-tls") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06rqg0vcispi63cmcza9j7ix80l0w6wmbw81qlg4fq8l1lg9nyvl")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags + '("-DBUILD_SHARED_LIBS=ON"))) + (propagated-inputs + `(("openssl" ,openssl) + ("openssl:static" ,openssl "static"))) + (synopsis "SSL/TLS implementation in C99") + (description + "This library provides a C99 implementation of SSL/TLS. It is designed +to be familiar to users of the widely-used POSIX I/O APIs. It supports +blocking, non-blocking, and full-duplex I/O. There are no locks or mutexes. As it can be difficult to keep track of which encryption algorithms and protocols are best to use, s2n-tls features a simple API to use the latest default set of preferences. Remaining on a specific version for backwards compatibility is also supported.") - (home-page "https://github.com/awslabs/s2n") - (license license:asl2.0))) + (home-page "https://github.com/aws/s2n-tls") + (license license:asl2.0)))) (define-public wolfssl (package -- cgit v1.2.3 From da9272fa00fc124a31fe01aef10f057ee64b6b8a Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Thu, 1 Jul 2021 14:37:50 +0000 Subject: gnu: Add aws-lc. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tls.scm (aws-lc): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tls.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/tls.scm') diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 564e52086a..74a88e1b3d 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -1205,3 +1205,30 @@ and DTLS 1.2, is up to 20 times smaller than OpenSSL, and offers progressive ciphers such as ChaCha20, Curve25519, NTRU, and Blake2b.") (home-page "https://www.wolfssl.com/") (license license:gpl2+))) ; Audit + +(define-public aws-lc + (let ((commit "d0a5455417d80e68581e197d95720c3fb25e3926") + (revision "0")) + (package + (name "aws-lc") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://github.com/awslabs/" name)) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ysj3x1f2lcdvwzyb9x3waykz1j7r21viv5z5vgc0ja9xv7znm9g")))) + (build-system cmake-build-system) + (arguments + '(#:tests? #f ; re-enable but with go and perl dependencies + #:configure-flags + '("-DBUILD_SHARED_LIBS=ON"))) + (synopsis "General purpose cryptographic library") + (description "AWS libcrypto (aws-lc) contains portable C implementations +of algorithms needed for TLS and common applications, and includes optimized +assembly versions for x86 and ARM.") + (home-page "https://github.com/awslabs/aws-lc") + (license license:asl2.0)))) -- cgit v1.2.3