CVE-2022-2031 tests/krb5: Add methods to send and receive generic messages
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 24 May 2022 07:20:28 +0000 (19:20 +1200)
committerJule Anger <janger@samba.org>
Wed, 27 Jul 2022 10:52:36 +0000 (10:52 +0000)
commit18bd6dafb576a58440d5c4ba6fff86dfe510bd98
tree6a56131079c26d8078c7b186c1b3efe80f3c87fa
parent888d58f43344afd6c199cd62be5e56f0f6174720
CVE-2022-2031 tests/krb5: Add methods to send and receive generic messages

This allows us to send and receive kpasswd messages, while avoiding the
existing logic for encoding and decoding other Kerberos message types.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15047
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15049
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15074

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
python/samba/tests/krb5/raw_testcase.py