mirror of
https://github.com/ben-grande/qusal.git
synced 2025-07-29 01:08:32 -04:00
feat: verify commit signature before push
Check commit signature and if it fails, check if any signed tags associated with commit exist from a keyring that can be found only locally. For: https://github.com/ben-grande/qusal/issues/105
This commit is contained in:
parent
efe0fa6ac7
commit
8fbd9a063c
7 changed files with 139 additions and 4 deletions
|
@ -22,7 +22,7 @@ block_max_chars(){
|
|||
char_value="${2}"
|
||||
less_than="${3}"
|
||||
if test "${#char_value}" -ge "${less_than}"; then
|
||||
err_msg="Error: ${char_key} is too long. Must be <${less_than} chars."
|
||||
err_msg="error: ${char_key} is too long. Must be <${less_than} chars."
|
||||
printf '%s\n' "${err_msg}" >&2
|
||||
printf '%s\n' "Key contents: ${char_value}" >&2
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue