summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2021-03-09 15:24:56 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2021-05-18 15:20:29 +0300
commit9a78ba37e0bdfea52b01c2cea1b389c9b7215354 (patch)
treeadb26040b21f648e52528461ac87bf6dbcc29be9 /src
parentd038e06e132659a6a0b2813cf29f3a05cf6196b7 (diff)
downloadpysaml2-9a78ba37e0bdfea52b01c2cea1b389c9b7215354.tar.gz
Do not comment out RSA_1_5, but mark as deprecated
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/saml2/sigver.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/saml2/sigver.py b/src/saml2/sigver.py
index a628dd44..007e7b40 100644
--- a/src/saml2/sigver.py
+++ b/src/saml2/sigver.py
@@ -60,9 +60,8 @@ logger = logging.getLogger(__name__)
SIG = '{{{ns}#}}{attribute}'.format(ns=ds.NAMESPACE, attribute='Signature')
-# DEPRECATED
-# RSA_1_5 = 'http://www.w3.org/2001/04/xmlenc#rsa-1_5'
-
+# RSA_1_5 is considered deprecated
+RSA_1_5 = 'http://www.w3.org/2001/04/xmlenc#rsa-1_5'
TRIPLE_DES_CBC = 'http://www.w3.org/2001/04/xmlenc#tripledes-cbc'
RSA_OAEP_MGF1P = "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"