krb5 commit [krb5-1.16]: Fix t_otp.py for pyrad 2.2
Greg Hudson
ghudson at mit.edu
Mon Dec 9 18:21:37 EST 2019
https://github.com/krb5/krb5/commit/0f76a3f1e9700de2624702110191b533d4e513cf
commit 0f76a3f1e9700de2624702110191b533d4e513cf
Author: Greg Hudson <ghudson at mit.edu>
Date: Mon Oct 21 13:56:55 2019 -0400
Fix t_otp.py for pyrad 2.2
pyrad 2.2 throws a KeyError exception in DecodePacket if any
attributes from the packet are not defined in the dictionary. Add a
dictionary entry for Service-Type so this doesn't happen.
(cherry picked from commit e60d01eb1686e112fba4743d4216ba61fec2bdc0)
ticket: 8841
version_fixed: 1.16.4
src/tests/t_otp.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/tests/t_otp.py b/src/tests/t_otp.py
index 0544a21..48b9a0a 100755
--- a/src/tests/t_otp.py
+++ b/src/tests/t_otp.py
@@ -49,6 +49,7 @@ except ImportError:
radius_attributes = '''
ATTRIBUTE User-Name 1 string
ATTRIBUTE User-Password 2 octets
+ATTRIBUTE Service-Type 6 integer
ATTRIBUTE NAS-Identifier 32 string
'''
More information about the cvs-krb5
mailing list