{"id":940,"date":"2015-03-03T20:26:10","date_gmt":"2015-03-03T20:26:10","guid":{"rendered":"http:\/\/sdi.thoughtstorms.info\/?p=940"},"modified":"2015-03-03T20:26:10","modified_gmt":"2015-03-03T20:26:10","slug":"clojars-a-note","status":"publish","type":"post","link":"https:\/\/blog.thoughtstorms.info\/?p=940","title":{"rendered":"Clojars : A Note"},"content":{"rendered":"<p>Further to <a href='http:\/\/sdi.thoughtstorms.info\/?p=901'>this story<\/a>.<br \/>\nI tried to deploy another small Clojure library to Clojars today. And found myself being asked for the passphrase to sign my update.<\/p>\n<blockquote><p>You need a passphrase to unlock the secret key for<br \/>\nuser: &#8220;phil jones <email.address>&#8221;<br \/>\n2048-bit RSA key, ID XXXXXX, created 2012-03-05\n<\/p><\/blockquote>\n<p>I got into a terrible confusion. Because, for the life of me, I couldn&#8217;t remember what passphrase I&#8217;d chosen to sign my Clojar last time. Had I just locked myself out of my Clojars account and the existing group and Patterning project?<br \/>\nA couple of hours faffing and I figured it out :<br \/>\n&#8211; my previous library WASN&#8217;T signed. It&#8217;s just in &#8220;Clojars Classic&#8221; and isn&#8217;t &#8220;promoted&#8221; so doesn&#8217;t require signing. That&#8217;s why I don&#8217;t remember signing it or inventing a pass-phrase.<br \/>\n&#8211; the reason that <em>lein deploy<\/em> was demanding a pass-phrase THIS TIME, was that in this library I&#8217;d decided to remove the word SNAPSHOT from the id in defproject.<br \/>\n<em>lein deploy<\/em> assumes that SNAPSHOTs default to being deployed in classic (the &#8220;free-for-all&#8221; part of Clojars) whereas non-SNAPSHOTS are intended to be deployed in the new &#8220;releases&#8221; repository, which is slightly more formalized arrangement, requiring author signing.<br \/>\n&#8211; I have gpg on my machine, and I did set up signing for my email address a couple of years ago. This was nothing to do with the previous library I put on Clojars. It was when I was experimenting with encrypted email. (A practice that I&#8217;ve embarrassingly let slip since then, but should really go back to.) So that&#8217;s the pass-phrase that was being demanded, and that I&#8217;ve managed to forget (from 2012, not end of 2014). Not impressive, but not quite as bad as creating one four months ago and then totally forgetting about it.<br \/>\nThat still leaves me with some problems when I eventually will want to put my libraries into &#8220;releases&#8221;) but at least I can still use Clojars. The library will have to continue as a SNAPSHOT though.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Further to this story. I tried to deploy another small Clojure library to Clojars today. And found myself being asked for the passphrase to sign my update. You need a passphrase to unlock the secret key for user: &#8220;phil jones &#8221; 2048-bit RSA key, ID XXXXXX, created 2012-03-05 I got into a terrible confusion. Because, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[67,325],"class_list":["post-940","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-clojurescript","tag-package-management"],"_links":{"self":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts\/940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=940"}],"version-history":[{"count":0,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts\/940\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}