[
https://issues.apache.org/jira/browse/MNG-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978346#comment-14978346
]
Michael Osipov commented on MNG-5917:
-------------------------------------
You need to inspect several questions/points first:
1) Assuming that the bytes in the {{settings.xml}} correspond to the encoding
given in the processing instruction
2) Have you debugged the process and inspected the {{Settings}} object
containing your password?
There are now two options where is issue is rooted: there is no standard what
character encoding is used for serialization from chars to bytes.
1) In HtttpClient, if not set,
[ASCII|http://hc.apache.org/httpcomponents-client-ga/httpclient/xref/org/apache/http/impl/auth/RFC2617Scheme.html#100]
is used. You have to tell the client to obtain UTF-8 bytes.
2) Artifactory does the base 64 decode but does not pass UTF-8 along with the
byte array to the string constructor.
Please share the raw decoded bytes or the base64 string from the HTTP header.
> Saved password with umlaut breaks deployment
> --------------------------------------------
>
> Key: MNG-5917
> URL: https://issues.apache.org/jira/browse/MNG-5917
> Project: Maven
> Issue Type: Bug
> Components: Settings
> Affects Versions: 3.3.3
> Environment: Fedora GNU/Linux 22
> Oracle Java 8.0.51
> Reporter: Christian Kalkhoff
> Priority: Critical
>
> My password to Artifactory contains a german umlaut (äöüÄÖÜß). I saved it
> either encrypted and plain to settings.xml.
> When I run release:perform the deployment breaks because artifactory refuses
> the password.
> I had a look with wireshark and the credentials contain a '?' where the
> umlaut should be.
> Logging in to artifactory using the web interfaces works with the password.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)