projects
/
blog.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[blog.git]
/
posts
/
gpg-agent
/
gpg-agent-spawn.sh
1
#!/bin/bash
2
# source me!
3
4
FILE="${HOME}/.gnupg/agent-info"
5
#todo: --enable-ssh-support
6
gpg-agent --daemon \
7
--display "${DISPLAY}" \
8
--ttyname "$(tty)" \
9
--keep-tty \
10
--keep-display \
11
--write-env-file "${FILE}" \
12
--pinentry-program "/usr/bin/pinentry.py"
13
echo "export GPG_AGENT_INFO" >> "${FILE}"
14
source "${FILE}"