Update gpg config
This commit is contained in:
parent
e0051b2c29
commit
98a39f22cd
4 changed files with 2 additions and 21 deletions
4
setup.sh
4
setup.sh
|
@ -36,7 +36,7 @@ if have fossil; then
|
|||
gpg="false"
|
||||
fi
|
||||
|
||||
gpg_key="EC9BE683"
|
||||
gpg_key="DC43171B6BE93978D09AD8B2C601EE21773E7C8F"
|
||||
if $gpg --list-secret-keys $gpg_key >/dev/null 2>&1; then
|
||||
fossil set --global pgp-command \
|
||||
"$gpg -u $gpg_key --clearsign -o"
|
||||
|
@ -50,8 +50,6 @@ have git && link_file git .config/git ../
|
|||
if have gpg || have gpg2; then
|
||||
mkdir -p $HOME/.local/share/gnupg
|
||||
chmod 700 $HOME/.local/share/gnupg
|
||||
link_file gnupg/gpg.conf .local/share/gnupg/gpg.conf ../../../
|
||||
link_file gnupg/scdaemon.conf .local/share/gnupg/scdaemon.conf ../../../
|
||||
if have gpg2; then
|
||||
gpg="gpg2"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue