Fork me on GitHub
#leiningen
<
2023-01-27
>
quoll23:01:10

Hi. I'm wondering what I've done wrong in this ~/.lein/credentials.clj please:

{
 #"" {:username "quoll" :password "CLOJARS_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
 }

quoll23:01:47

It's the same one I used to use on another machine (except that I've updated the password, which is obviously not a string of xxxxxx). But when I try lein deploy clojars now I get told:

No credentials found for clojars
See `lein help deploying` for how to configure credentials to avoid prompts.
Username: 

quoll23:01:31

I did have to create a new gpg key on this machine before I could create ~/.lein/credentials.clj.gpg but that shouldn't cause this error, should it?