You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Werner Guttmann (JIRA)" <ji...@codehaus.org> on 2011/02/24 14:47:22 UTC

[jira] Commented: (MGPG-33) Signing fails if passphrase contains non-English letters

    [ http://jira.codehaus.org/browse/MGPG-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257596#action_257596 ] 

Werner Guttmann commented on MGPG-33:
-------------------------------------

I have got the same problem, but apparently not related to encoding and/or character sets. In other words, my passphrase is all numbers and letters only.

The problem for my seems to occur only when I try to use {{-Dgpg.keyname}} next to {{-Dgpg.passphrase}}. Why do I need to do this ? I have got more than on key in my setup, and I would like to use the non-default one.

Using pgp, I can perfectly well sign any file with the right key using 

{code}
> gpg --local-user <some-identity> -ab <filename>
{code}

Here's my setup re: Maven:

{code}
C:\Users\me>mvn -v
Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100)
Java version: 1.5.0_22, vendor: Sun Microsystems Inc.
Java home: C:\dev\java\jdk1.5.0_22\jre
Default locale: de_AT, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
{code}

> Signing fails if passphrase contains non-English letters
> --------------------------------------------------------
>
>                 Key: MGPG-33
>                 URL: http://jira.codehaus.org/browse/MGPG-33
>             Project: Maven 2.x GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: - Mac OSX 10.6.4
> - Maven 2.2.1
> - Java 1.6.0_22
>            Reporter: Harri Halttunen
>
> If passphrase contains non-English letters, like ä, ö (Scandinavian alphabets) then signing fails.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira