From 0911eb342b4a355b14b08d2e3371769241393124 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Thu, 21 Oct 2021 21:10:05 -0700 Subject: local/require-signed-push: clarify that the clock offset is in the push, not the commits Signed-off-by: Robin H. Johnson --- local/require-signed-push | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/local/require-signed-push b/local/require-signed-push index 68b03a8..f9dd405 100755 --- a/local/require-signed-push +++ b/local/require-signed-push @@ -54,7 +54,7 @@ log_git_push() { logger -t require-signed-push -p info "require-signed-push${s}" } -verify_committer_clock() { +verify_pusher_clock() { RAW_CERT="$(git show --format='pushtime %ct%nct %ct%nat %at%n%B' "$GIT_PUSH_CERT")" # Example inputs # Good clock (58 seconds delay on PIN entry to smartcard): @@ -189,8 +189,8 @@ case $GIT_PUSH_CERT_STATUS in esac -# Check the user clock as well. -verify_committer_clock +# Check the clock on pusher system as well. +verify_pusher_clock # All good now exit 0 -- cgit v1.2.3-65-gdbad