summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
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 7edbd71784..63b25bd913 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")