]> git.ipfire.org Git - thirdparty/samba.git/commit
tests/krb5: Fix checksum generation and verification
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 28 Sep 2021 22:59:42 +0000 (11:59 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Oct 2021 18:59:31 +0000 (18:59 +0000)
commita927cecafdd5ad6dc5189fa98cb42684c9c3b033
treee11e742b6c7de774511a860d9c087ec87af59c59
parentae09219c3a1c6d47817f51baf3784e8986c7478d
tests/krb5: Fix checksum generation and verification

The KDC and server checksums may be generated using the same key, but
only the KDC checksum should have an RODCIdentifier. To fix this,
instead of overriding the existing methods, add additional ones for
RODC-specific signatures, so that both types of signatures can be
generated or verified.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

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