sbt/xsbt-gpg-plugin — Issue #9: Passphrase and Umlauts
Author: Sciss
Created: 2012-02-14 15:32:28+00:00
State: open

Environment: OS X 10.6 with GPGTools.

It seems that when there are Umlauts in the passphrase (in my case German letter 'ä') that the phrase is not correctly recognized by the plugin. I re-typed the phrase with characters visible in GPG Keychain Access, so I'm sure there wasn't any typo.

The sbt plugin or rather bouncy castle emit a strange error message: "org.bouncycastle.openpgp.PGPException: checksum mismatch at 0 of 20" (if you google for it, you see it's a bounce castle thing: http://bouncy-castle.1462172.n4.nabble.com/Getting-quot-checksum-mismatch-at-0-of-20-quot-when-trying-to-extractPrivateKey-td1467919.html)

After I changed 'ä' for 'ae', it works, so unless I was really typing it wrong repeatedly, the reason seems to be character encoding.