tests/krb5: Add get_enc_timestamp_pa_data_from_key()
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 26 Jul 2021 05:18:38 +0000 (17:18 +1200)
committerJule Anger <janger@samba.org>
Thu, 16 Sep 2021 08:07:12 +0000 (08:07 +0000)
commit11001fca4d279de3ef5c74cd7ac86b75a45d8903
treedb951026f17fc6b81655293f2e64032264ef31b3
parentca5b9aff8f94e465378b4385fae9d008c2ac32d5
tests/krb5: Add get_enc_timestamp_pa_data_from_key()

This makes it easier to create encrypted timestamp padata when the key
has already been obtained.

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 f5a906f74f9665a894db3c13722022f732180620)
python/samba/tests/krb5/kdc_base_test.py