diff options
-rwxr-xr-x | local/require-signed-push | 6 |
1 files 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 |