Daniel Hiller

Geek, programmer, father
I'm a software engineer with more than 20 years of work experience.
I strive to create software that is useful for people so they can do stuff that matters.

Backup S3 buckets
All posts
Fetch own commits for last X days

Use gpg-agent for svn password caching


svn gpg-agent 

Here’s how to configure gpg-agent for in memory svn password caching.

Install gpg agent:

$ sudo apt-get install gnupg-agent

Make sure pinentry is present. Usually pinentry-curses is present, to avoid the curses version, install pinentry-tty and configure it to be used for gpg in ~/.gnupg/gpg-agent.conf:

$ sudo apt-get install pinentry-tty
$ echo "pinentry-program /usr/bin/pinentry-tty" >> ~/.gnupg/gpg-agent.conf
$ gpg-connect-agent reloadagent /bye


export GPG_TTY
eval $(gpg-agent --daemon)

Configure subversion to use gpg as password storage:


password-stores = gpg-agent


store-passwords = yes
store-plaintext-passwords = no


Related posts:

Backup S3 buckets
All posts
Fetch own commits for last X days

Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Last update on 2024-05-28. Built by dhiller using Atom (editor), Jekyll (site builder), OneDark vivid (syntax highlighting theme), Webjeda (related posts), Disqus (discussions), Github Pages (hosting), Cloudflare (DNS).