Skip to content

Commit 40693ae

Browse files
committed
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
2 parents 056d164 + 20025fd commit 40693ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/lib-gpg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ test_lazy_prereq GPGSSH '
136136

137137
test_lazy_prereq GPGSSH_VERIFYTIME '
138138
# Check if ssh-keygen has a verify-time option by passing an invalid date to it
139-
ssh-keygen -Overify-time=INVALID -Y check-novalidate -s doesnotmatter 2>&1 | grep -q -F "Invalid \"verify-time\"" &&
139+
ssh-keygen -Overify-time=INVALID -Y check-novalidate -n "git" -s doesnotmatter 2>&1 | grep -q -F "Invalid \"verify-time\"" &&
140140
141141
# Set up keys with key lifetimes
142142
ssh-keygen -t ed25519 -N "" -C "timeboxed valid key" -f "${GPGSSH_KEY_TIMEBOXEDVALID}" >/dev/null &&

0 commit comments

Comments
 (0)