tests/krb5: Allow cf2 to automatically use the enctype of the first key
commit8a465e73ba36ede6e88893740096611a5dd3312f
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 5 Jul 2021 22:24:52 +0000 (6 10:24 +1200)
committerJule Anger <janger@samba.org>
Wed, 8 Sep 2021 12:32:10 +0000 (8 12:32 +0000)
tree77e5a7ad5f51f79057ea62c4e7d08dd70ed70f5b
parentd003d7a3edcff2a64cbcc0e7481941b1ff5c84fd
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