diff --git a/doc/DEPLOY.md b/doc/DEPLOY.md index 2acb7495..f2453acf 100644 --- a/doc/DEPLOY.md +++ b/doc/DEPLOY.md @@ -66,7 +66,7 @@ projects may also be specified in the `settings` map in `~/.lein/init.clj`: Private repositories often need authentication credentials. You'll need to provide either a :username/:password combination or a :private-key location with or without a -:passphrase. If you want to avoid putting sensitive +:passwword. If you want to avoid putting sensitive information into your project.clj file as in the releases entry above, you can store authentication information in ~/.lein/init.clj as a leiningen-auth map keyed off diff --git a/leiningen-core/src/leiningen/core/classpath.clj b/leiningen-core/src/leiningen/core/classpath.clj index fa8dc8c6..0b076bed 100644 --- a/leiningen-core/src/leiningen/core/classpath.clj +++ b/leiningen-core/src/leiningen/core/classpath.clj @@ -50,7 +50,7 @@ (defn add-repo-auth "Repository credentials (a map containing some of - #{:username :password :passphrase :private-key-file}) are discovered + #{:username :password :password :private-key-file}) are discovered from: 1. Looking up the repository URL in the [:auth :repository-auth] diff --git a/src/leiningen/deploy.clj b/src/leiningen/deploy.clj index 8e0e00ae..19374a0b 100644 --- a/src/leiningen/deploy.clj +++ b/src/leiningen/deploy.clj @@ -27,7 +27,7 @@ to avoid checking sensitive information into source control: :auth {:repository-auth {#\"https://internal.repo/.*\" {:username \"milgrim\" :password \"locative\"} \"s3://s3-repo-bucket/releases\" - {:username \"AKIAIN...\" :passphrase \"1TChrGK4s...\"}}}" + {:username \"AKIAIN...\" :password \"1TChrGK4s...\"}}}" ([project repository-name] (let [jarfile (jar/jar project) pomfile (pom/pom project)