This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-04-21
Channels
- # announcements (12)
- # atom-editor (2)
- # babashka (44)
- # beginners (4)
- # calva (3)
- # clj-kondo (10)
- # clj-yaml (1)
- # cljsrn (1)
- # clojars (5)
- # clojure (68)
- # clojure-europe (40)
- # clojure-nl (1)
- # clojure-norway (75)
- # clojure-uk (2)
- # clojurescript (23)
- # conjure (1)
- # datomic (2)
- # defnpodcast (7)
- # emacs (23)
- # etaoin (7)
- # fulcro (7)
- # funcool (2)
- # honeysql (3)
- # hyperfiddle (40)
- # interop (4)
- # jobs (3)
- # lsp (1)
- # malli (16)
- # off-topic (16)
- # parinfer (2)
- # podcasts-discuss (1)
- # portal (61)
- # reitit (6)
- # releases (1)
- # remote-jobs (6)
- # scittle (4)
- # shadow-cljs (18)
- # spacemacs (4)
- # vim (22)
- # xtdb (12)
I am trying to push to clojars but I am getting this error Entire log
Compiling 1 source files to /amazonica/target/classes
warning: [options] bootstrap class path not set in conjunction with -source 8
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
4 warnings
Created /amazonica/target/amazonica-0.3.165.jar
Wrote /amazonica/pom.xml
Need to sign 2 files
[1/2] Signing /amazonica/target/amazonica-0.3.165.jar
Signing file /amazonica/target/amazonica-0.3.165.jar
Write signature to /amazonica/target/amazonica-0.3.165.jar.sig
[2/2] Signing /amazonica/pom.xml
/amazonica/pom.xml.sig already exists.
Overwrite (y/n)? Signing file /amazonica/pom.xml
y
Write signature to /amazonica/pom.xml.sig
Sending com/github/vigneshwaranjheyaraman/amazonica/0.3.165/amazonica-0.3.165.jar (100k)
to
Sending com/github/vigneshwaranjheyaraman/amazonica/0.3.165/amazonica-0.3.165.pom (5k)
to
Sending com/github/vigneshwaranjheyaraman/amazonica/0.3.165/amazonica-0.3.165.jar.sig (1k)
to
Could not transfer artifact com.github.vigneshwaranjheyaraman:amazonica:jar.sig:0.3.165 from/to clojars ( ): transfer failed for , status: 400 Bad Request
Sending com/github/vigneshwaranjheyaraman/amazonica/0.3.165/amazonica-0.3.165.pom.sig (1k)
to
Could not transfer artifact com.github.vigneshwaranjheyaraman:amazonica:pom.sig:0.3.165 from/to clojars ( ): transfer failed for , status: 400 Bad Request
Failed to deploy artifacts: Could not transfer artifact com.github.vigneshwaranjheyaraman:amazonica:jar.sig:0.3.165 from/to clojars ( ): transfer failed for , status: 400 Bad Request
I am using SSH to sign the jars and pom
Hi @U030SSZRHGA!
What tool are you using to sign & deploy?
Clojars does not support .sig
files, only (\.pom|\.jar|\.sha1|\.md5|\.asc|\.module)
Yeah @U06SGCEHJ found the cause and started using gpg
instead which seemed to resolve the issue
It looks like this was https://github.com/clojars/clojars-web/issues/863 - I didn't realize lein had released SSH signing