Daniel Hiller

Geek, programmer, father
Backup S3 buckets
All posts
Fetch own commits for last X days

Use gpg-agent for svn password caching

2018-10-04

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:

~/.bash_profile

...
GPG_TTY=$(tty)
export GPG_TTY
eval $(gpg-agent --daemon)

Configure subversion to use gpg as password storage:

~/.subversion/config

[auth]
password-stores = gpg-agent

~/.subversion/servers

[global]
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 2018-10-13. Built by dhiller using Atom (editor), Jekyll (site builder), OneDark vivid (syntax highlighting theme), Webjeda (related posts), Disqus (discussions), Github Pages (hosting), Cloudflare (DNS).