13607ba6bc
Fixes CVE-2012-2417, PyCrypto <= 2.5 insecure ElGamal key generation. ok mpi@ (MAINTAINER)
26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
$OpenBSD: patch-lib_Crypto_Cypher___init___py,v 1.5 2012/05/25 12:13:01 jasper Exp $
|
|
--- lib/Crypto/Cipher/__init__.py.orig Fri May 25 09:15:59 2012
|
|
+++ lib/Crypto/Cipher/__init__.py Fri May 25 09:16:18 2012
|
|
@@ -40,7 +40,6 @@ standard and has undergone a fair bit of examination.
|
|
Module name Type Description
|
|
======================== ======= ========================
|
|
`Crypto.Cipher.AES` Block Advanced Encryption Standard
|
|
-`Crypto.Cipher.ARC2` Block Alleged RC2
|
|
`Crypto.Cipher.ARC4` Stream Alleged RC4
|
|
`Crypto.Cipher.Blowfish` Block Blowfish
|
|
`Crypto.Cipher.CAST` Block CAST
|
|
@@ -68,11 +67,11 @@ Module name Description
|
|
`Crypto.Cipher.PKCS1_OAEP` PKCS#1 OAEP encryption, based on RSA key pairs
|
|
========================== =======================
|
|
|
|
-:undocumented: __revision__, __package__, _AES, _ARC2, _ARC4, _Blowfish
|
|
+:undocumented: __revision__, __package__, _AES, _ARC4, _Blowfish
|
|
_CAST, _DES, _DES3, _XOR
|
|
"""
|
|
|
|
-__all__ = ['AES', 'ARC2', 'ARC4',
|
|
+__all__ = ['AES', 'ARC4',
|
|
'Blowfish', 'CAST', 'DES', 'DES3',
|
|
'XOR',
|
|
'PKCS1_v1_5', 'PKCS1_OAEP'
|