Permalink
Browse files

Mention keychain for handling gpg passphrases. Fixes #615.

[ci skip]
  • Loading branch information...
1 parent d66451a commit eaa6935891fdde7d2195180ec6bc153c16f373e5 @technomancy committed Jun 10, 2012
Showing with 14 additions and 9 deletions.
  1. +13 −8 doc/DEPLOY.md
  2. +1 −1 todo.org
View
21 doc/DEPLOY.md
@@ -61,14 +61,14 @@ projects may also be specified in the `:user` profile in `~/.lein/profiles.clj`:
### Authentication
-Private repositories need authentication credentials. Check your
-repository's documentation for details, but you'll usually need to
-provide either a `:username`/`:password` combination or a
-`:private-key` location with or without a `:passphrase`. Leiningen
-will prompt you for a password if you haven't set up credentials, but
-it's convenient to set it so you don't have to re-enter it every time
-you want to deploy. You will need [gpg](http://www.gnupg.org/)
-installed and a key pair configured.
+Deploying and reading from private repositories needs authentication
+credentials. Check your repository's documentation for details, but
+you'll usually need to provide either a `:username`/`:password`
+combination or a `:private-key` location with or without a
+`:passphrase`. Leiningen will prompt you for a password if you haven't
+set up credentials, but it's convenient to set it so you don't have to
+re-enter it every time you want to deploy. You will need
+[gpg](http://www.gnupg.org/) installed and a key pair configured.
First write your credentials map to `~/.lein/credentials.clj` like so:
@@ -90,6 +90,11 @@ encrypted it. Due to a bug in `gpg` you currently need to use
launches, but with `gpg-agent` you only have to enter your passphrase
once per login.
+On some systems you will be prompted for your GPG passphrase if you
+haven't entered it. If yours does not, you can install
+[Keychain](https://github.com/funtoo/keychain), which provides this
+functionality portably.
+
### Deployment
Once you've set up a private repository and configured project.clj
View
2 todo.org
@@ -5,7 +5,7 @@ See also https://github.com/technomancy/leiningen/issues
* For 2.0.0
** 2.0.0-final
- [X] Address chaining issues in with-profile (#632)
- - [ ] Address gpg agent issues (#615)
+ - [X] Address gpg agent issues (#615)
- [ ] Startup performance regression (#614)
- [ ] Stale directory clutter (#589)
- [ ] Allow jars to be signed, document in deploying guide. (#519)

0 comments on commit eaa6935

Please sign in to comment.