From 224c7a8bcad438bfb581e9841ece56d22fe2b0ee Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Wed, 2 Feb 2022 09:59:12 +0000 Subject: [PATCH] Document that this software is unmaintained upstream --- README.md | 21 +++++++++++++++++++++ python-crypto.spec | 6 ++++++ 2 files changed, 27 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..efc5dba --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +## PyCrypto - The Python Cryptography Toolkit + +**This software is no longer maintained** + +See upstream notice at https://www.pycrypto.org/ + +PyCrypto 2.x is unmaintained and obsolete. Known security vulnerabilities +have been patched downstream by backporting code from PyCryptodome (see below). + +Please choose one of the following alternatives: + +[Cryptography](https://src.fedoraproject.org/rpms/python-cryptography) + + * Recommended for new applications + * Newer API with fewer gotchas + +[PyCryptodome](https://src.fedoraproject.org/rpms/python-pycryptodomex) + + * Recommended for existing software that depends on PyCrypto + * Fork of PyCrypto - most applications should run unmodified + diff --git a/python-crypto.spec b/python-crypto.spec index 9258148..4eb87cf 100644 --- a/python-crypto.spec +++ b/python-crypto.spec @@ -37,6 +37,9 @@ BuildRequires: python%{python3_pkgversion}-setuptools PyCrypto is a collection of both secure hash functions (such as MD5 and SHA), and various encryption algorithms (AES, DES, RSA, ElGamal, etc.). +This software is no longer maintained upstream. Please use the Cryptography +or PyCryptodome software instead. + %package -n python%{python3_pkgversion}-crypto Summary: Cryptography library for Python 3 %{?python_provide:%python_provide python%{python3_pkgversion}-crypto} @@ -47,6 +50,9 @@ SHA), and various encryption algorithms (AES, DES, RSA, ElGamal, etc.). This is the Python 3 build of the package. +This software is no longer maintained upstream. Please use the Cryptography +or PyCryptodome software instead. + %prep %setup -n pycrypto-%{version} -q