From 08935e5fff2ad9b453aced96f3c7453004945175 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 13 Jul 2021 09:57:28 -0400 Subject: gnu: Add python-certauth. * gnu/packages/python-crypto.scm (python-certauth): New variable. --- gnu/packages/python-crypto.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 0134c8c427..d9102adcc9 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2020 Alexandros Theodotou ;;; Copyright © 2020 Justus Winter ;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2021 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -468,6 +469,32 @@ general production use. Include this module and use its backends at your own risk.") (license license:expat))) +(define-public python-certauth + (package + (name "python-certauth") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "certauth" version)) + (sha256 + (base32 + "1yxqfb5131wahjyw9pxz03bq476rcfx62s6k53xx4cqbzzgdaqkq")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pyopenssl" ,python-pyopenssl) + ("python-tldextract" ,python-tldextract))) + (native-inputs + `(("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/ikreymer/certauth") + (synopsis "Certificate authority creation tool") + (description "This package provides a small library, built on top of +pyOpenSSL, which allows for creating a custom certificate authority (CA) +certificate, and generating on-demand dynamic host certs using that CA +certificate. It is most useful for use with a man-in-the-middle HTTPS proxy, +for example, for recording or replaying web content.") + (license license:expat))) + (define-public python-certifi (package (name "python-certifi") -- cgit v1.2.3