Fork me on GitHub
#clojars
<
2023-04-21
>
VickySuraj04:04:29

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

VickySuraj04:04:21

I am using SSH to sign the jars and pom

tcrawley11:04:13

Hi @U030SSZRHGA! What tool are you using to sign & deploy? Clojars does not support .sig files, only (\.pom|\.jar|\.sha1|\.md5|\.asc|\.module)

VickySuraj07:04:53

Yeah @U06SGCEHJ found the cause and started using gpg instead which seemed to resolve the issue

tcrawley11:05:39

It looks like this was https://github.com/clojars/clojars-web/issues/863 - I didn't realize lein had released SSH signing