summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-24 14:06:33 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-24 15:27:36 +0100
commit016884bc4742bce06b3444a64b8972b832abeda8 (patch)
tree79bb223836187e8a8bd4dc9dd3f51d3a9f5bb55f /gnu/packages/python-crypto.scm
parentbd84ca1af83c0de2dd0c33b6ae3b9ea3493bf0d1 (diff)
gnu: python-rsa: Move to python-crypto.
* gnu/packages/python-xyz.scm (python-rsa): Move from here ... * gnu/packages/python-crypto.scm: ... to here. Change-Id: I374bc70c4bbab48979f2b4b80505a1ad79545437
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 7edbd717844..63b25bd913b 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1233,6 +1233,34 @@ passwords. It can be used to implement two-factor (2FA) or multi-factor
require users to log in.")
(license license:expat)))
+;; XXX: This project was archived by the owner on Apr 20, 2025. It is now
+;; read-only. Consider to remove when starts failing to build and nothing
+;; depends on it.
+(define-public python-rsa
+ (package
+ (name "python-rsa")
+ (version "4.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rsa" version))
+ (sha256
+ (base32 "0xdfs3mhdb9wjpckj7i4zyv9sr82m7hk0mfkvw3lrnlpakdvzgg7"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ;tests are not included in PyPI archive
+ (native-inputs
+ (list python-poetry-core))
+ (propagated-inputs
+ (list python-pyasn1))
+ (home-page "https://stuvel.eu/rsa")
+ (synopsis "Pure-Python RSA implementation")
+ (description "Python-RSA is a pure-Python RSA implementation. It supports
+encryption and decryption, signing and verifying signatures, and key
+generation according to PKCS#1 version 1.5. It can be used as a Python
+library as well as on the command line.")
+ (license license:asl2.0)))
+
(define-public python-scrypt
(package
(name "python-scrypt")