- xfr-tsig, unit test for tsig_sign_shared and tsig_verify_shared.

This commit is contained in:
W.C.A. Wijngaards
2025-06-27 09:24:51 +02:00
parent 5147e5aee9
commit ca147a147d
4 changed files with 141 additions and 221 deletions
+12
View File
@@ -36,3 +36,15 @@ tsig-verify-query test.key 1750421767 NOERROR NOERROR 0
#packet
#c7588400000100010000000203777777076578616d706c65036e65740000010001c00c0001000100000e1000040a141e2800002904d00000000000000474657374036b65790000fa00ff00000000003d0b686d61632d73686132353600000068555107012c0020a377c921817d4009a6ab35e7f84aa697751b3a976701e8fb6b843965325bf9bdc75800000000
#endpacket
packet
c7588400000100010000000103777777076578616d706c65036e65740000010001c00c0001000100000e1000040a141e2800002904d0000000000000
endpacket
tsig-sign-shared test.key 1750411954 0
check-packet
c7588400000100010000000203777777076578616d706c65036e65740000010001c00c0001000100000e1000040a141e2800002904d00000000000000474657374036b65790000fa00ff00000000003d0b686d61632d73686132353600000068552ab2012c00206a0e6bb9e1228588a8edd5da1dd611bcd0b4e2dd815e7c5501825ea374b3ebacc75800000000
endpacket
tsig-verify-shared test.key 1750411954 0