GPG plugin / bouncycastle error (PGPException -- checksum mismatch)

1,294 views
Skip to first unread message

Sciss

unread,
Feb 13, 2012, 11:26:13 AM2/13/12
to simple-b...@googlegroups.com
hello....

i'm trying now to publish the first new artifact to sonatype, but i have a problem with the gpg plugin it seems:

$ sbt publish
[info] Loading global plugins from /Users/hhrutz/.sbt/plugins
[info] Loading project definition from /Users/hhrutz/Documents/devel/Strugatzki/project
[info] Set current project to strugatzki (in build file:/Users/hhrutz/Documents/devel/Strugatzki/)
Please enter your PGP passphrase> ****************************
[info] Wrote /Users/hhrutz/Documents/devel/Strugatzki/target/scala-2.9.1/strugatzki_2.9.1-0.17.pom
[info] :: delivering :: de.sciss#strugatzki_2.9.1;0.17 :: 0.17 :: release :: Mon Feb 13 16:23:35 GMT 2012
[info] delivering ivy file to /Users/hhrutz/Documents/devel/Strugatzki/target/scala-2.9.1/ivy-0.17.xml
[error] {file:/Users/hhrutz/Documents/devel/Strugatzki/}default-b94a14/*:packaged-artifacts: org.bouncycastle.openpgp.PGPException: checksum mismatch at 0 of 20
[error] Total time: 8 s, completed Feb 13, 2012 4:23:36 PM

any clues what that is supposed to mean? i followed all instruction from https://github.com/sbt/sbt.github.com/blob/gen-master/src/jekyll/using_sonatype.md

thanks, -sciss-

Sciss

unread,
Feb 13, 2012, 11:34:38 AM2/13/12
to simple-b...@googlegroups.com
that stupid message seems to indicate that the pass phrase is wrong.

it seems there is a problem (with jline?) with umlauts appearing in the pass phrase. i used a new one now with strict 7 bit ascii, and had no more problems .... (or maybe i just couldn't type it right in the terminal, don't know...)

> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To post to this group, send email to simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
>

Josh Suereth

unread,
Feb 14, 2012, 10:24:34 AM2/14/12
to simple-b...@googlegroups.com
Thanks, can you open a bug report on the PGP plugin?  https://github.com/sbt/xsbt-gpg-plugin/issues/new

In the future, you can place a file in ~/.sbt/pgp.sbt  that contains a setting for your passphrase:

gpgPassphrase := Some(Array('ü'))

The terrible checksum error message seems bad.  I'll see if I can fix that in the future.
Reply all
Reply to author
Forward
0 new messages