mirror of
https://github.com/git/git
synced 2024-08-28 20:20:07 +00:00
Merge branch 'tz/test-ssh-verifytime-fix'
Test fix. * tz/test-ssh-verifytime-fix: t/lib-gpg: fix ssh-keygen -Y check-novalidate with openssh-9.0
This commit is contained in:
commit
40693ae926
|
@ -136,7 +136,7 @@ test_lazy_prereq GPGSSH '
|
|||
|
||||
test_lazy_prereq GPGSSH_VERIFYTIME '
|
||||
# Check if ssh-keygen has a verify-time option by passing an invalid date to it
|
||||
ssh-keygen -Overify-time=INVALID -Y check-novalidate -s doesnotmatter 2>&1 | grep -q -F "Invalid \"verify-time\"" &&
|
||||
ssh-keygen -Overify-time=INVALID -Y check-novalidate -n "git" -s doesnotmatter 2>&1 | grep -q -F "Invalid \"verify-time\"" &&
|
||||
|
||||
# Set up keys with key lifetimes
|
||||
ssh-keygen -t ed25519 -N "" -C "timeboxed valid key" -f "${GPGSSH_KEY_TIMEBOXEDVALID}" >/dev/null &&
|
||||
|
|
Loading…
Reference in a new issue