diff options
| author | Ahmed Abdelhalim <[email protected]> | 2021-03-31 14:28:51 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2021-03-31 14:28:51 +0200 |
| commit | f97953a4f04cfcda970b6eeb261c3b45d46f22fb (patch) | |
| tree | 88da211e9958350590576c2878c47b95c3f8e2f1 | |
| parent | b81ab63d2926972825e7c5d3da2ccf543ede94d7 (diff) | |
Update gpg configurations and setup missing commands
| -rw-r--r-- | .gnupg/gpg-agent.conf | 4 | ||||
| -rw-r--r-- | README.md | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf index 85405bc..6b56eca 100644 --- a/.gnupg/gpg-agent.conf +++ b/.gnupg/gpg-agent.conf @@ -1 +1,5 @@ +default-cache-ttl 3600 +default-cache-ttl-ssh 3600 +max-cache-ttl 7200 +max-cache-ttl-ssh 7200 enable-ssh-support @@ -36,6 +36,14 @@ mkdir -p ~/.config/htop ~/.config/tmuxinator ~/.config/wtf ln -sf ~/.rc/.config/htop/htoprc ~/.config/htop/htoprc ln -sf ~/.rc/.config/wtf/config.yml ~/.config/wtf/config.yml +mkdir -p ~/.gnupg +ln -sf ~/.rc/.gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf +ln -sf ~/.rc/.gnupg/sshcontrol ~/.gnupg/sshcontrol + +gpg-connect-agent killagent /bye +gpg-connect-agent updatestartuptty /bye +gpg-connect-agent /bye + sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells' chsh -s /usr/local/bin/bash |
