tests: fix mis-spelled cryptographic-algorithm keyword in test

Also update to use a newer hashing function while we are here.

fixes #15923

Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
Christian Hopps 2024-05-09 04:19:44 -04:00
parent 5ed6db5e9e
commit 0939f77b39

View File

@ -62,7 +62,7 @@ def test_send_accept(tgen):
key chain kc
key 1
key-string theSecret
crypto-algorithm md5
cryptographic-algorithm hmac-sha-256
exit
exit
"""
@ -74,7 +74,7 @@ exit
key chain kc
key 1
key-string theSecret
crypto-algorithm md5
cryptographic-algorithm hmac-sha-256
send-lifetime 00:00:00 Jan 1 2024 infinite
accept-lifetime 00:00:00 Jan 1 2024 infinite
exit
@ -101,7 +101,7 @@ exit
key chain kc
key 2
key-string theSecret
crypto-algorithm md5
cryptographic-algorithm hmac-sha-256
send-lifetime 00:00:00 Jan 1 2024 duration {secs_in_10_years}
accept-lifetime 00:00:00 Jan 1 2024 duration {secs_in_10_years}
exit
@ -127,7 +127,7 @@ exit
key chain kc
key 3
key-string theSecret
crypto-algorithm md5
cryptographic-algorithm hmac-sha-256
send-lifetime 00:00:00 Jan 1 2024 23:59:59 Dec 31 2034
accept-lifetime 00:00:00 Jan 1 2024 23:59:59 Dec 31 2034
exit