-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,8 +37,8 @@ log_silent "try: git a or: git aliases to see what is available." | |
if [[ -n $GNUPG_KEY && -n $GNUPG_SIGNING_KEY ]]; then | ||
msg="enabling Git commit signing" | ||
log_silent "GnuPG Private Key env vars found, $msg" | ||
gpg --verbose --batch --import <(echo "$GNUPG_KEY" | base64 -d) && | ||
echo 'pinentry-mode loopback' >> ~/.gnupg/gpg.conf && | ||
gpg --verbose --batch --import <(echo "$GNUPG_KEY" | base64 -d) > /dev/null && | ||
echo 'pinentry-mode loopback' >> ~/.gnupg/gpg.conf > /dev/null && | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
strausmann
Contributor
|
||
git config --global user.signingkey "$GNUPG_SIGNING_KEY" && | ||
git config commit.gpgsign true | ||
ec=$? | ||
|
1 comment
on commit 3614991
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@apolopena
This will destory the gpg function
After repeat the command without "> /dev/null" its works again