Commit 3ca70a14 authored by Chaoting Liu's avatar Chaoting Liu

print gnupg.conf

parent cc43db3b
...@@ -28,8 +28,8 @@ _log command "GPG setup" ...@@ -28,8 +28,8 @@ _log command "GPG setup"
_do install -dm700 ~/.gnupg _do install -dm700 ~/.gnupg
echo "\nkeyserver-options auto-key-retrieve echo "\nkeyserver-options auto-key-retrieve
auto-key-locate local,wkd auto-key-locate local,wkd
pinentry-mode loopback pinentry-mode loopback" >> ~/.gnupg/gpg.conf
passphrase $GPG_PASSWORD" >> ~/.gnupg/gpg.conf _do cat ~/.gnupg/gpg.conf
_do gpg -v --batch --import <(echo "$GPG_PRIVATE_KEY") _do gpg -v --batch --import <(echo "$GPG_PRIVATE_KEY")
# Configure gpg-agent.conf # Configure gpg-agent.conf
_do echo "allow-loopback-pinentry" > ~/.gnupg/gpg-agent.conf _do echo "allow-loopback-pinentry" > ~/.gnupg/gpg-agent.conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment