tests/krb5: Allow cf2 to automatically use the enctype of the first key
commit70dd144a05fb13cf6cab82629e2a4f41910f1c5a
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 5 Jul 2021 22:24:52 +0000 (6 10:24 +1200)
committerJule Anger <janger@samba.org>
Thu, 16 Sep 2021 08:07:12 +0000 (16 08:07 +0000)
tree1a72b2589c71a6b23be3c4880e1693fefc31a48f
parent2ae49840a4f38cd3a47018111dbe2996e6deec6a
tests/krb5: Allow cf2 to automatically use the enctype of the first key

RFC6113 states: "Unless otherwise specified, the resulting enctype of
KRB-FX-CF2 is the enctype of k1." This change means the enctype no
longer has to be specified manually.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14817
(cherry picked from commit a5e5f8fdfe8b6952592d7d682af893c79080826f)
python/samba/tests/krb5/kcrypto.py