[ 
https://issues.apache.org/jira/browse/QPID-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16668999#comment-16668999
 ] 

ASF subversion and git services commented on QPID-8254:
-------------------------------------------------------

Commit 16b5592f12ccb841e432f5e16c4851c21ccc66cf in qpid-broker-j's branch 
refs/heads/master from [~alex.rufous]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=16b5592 ]

QPID-8254: [Broker-J] Stop using illegal ascii characters in java keystore 
passwords


> [Broker-J] Illegal ascii characters are used in keystore passwords
> ------------------------------------------------------------------
>
>                 Key: QPID-8254
>                 URL: https://issues.apache.org/jira/browse/QPID-8254
>             Project: Qpid
>          Issue Type: Bug
>          Components: Broker-J
>    Affects Versions: qpid-java-6.0.8, qpid-java-6.1.7, qpid-java-broker-7.0.6
>            Reporter: Alex Rudyy
>            Priority: Major
>             Fix For: qpid-java-broker-7.1.0, qpid-java-broker-7.0.7
>
>
> Illegal keystore password characters are used on creation of 
> {{AutoGeneratedSelfSignedKeyStoreImpl}} and {{NonJavaKeyStoreImpl}}:
> {code}
> char[] chars = new char[64];
> RANDOM.nextBytes(bytes);
> StandardCharsets.US_ASCII.decode(ByteBuffer.wrap(bytes)).get(chars);
> inMemoryKeyStore.load(null, chars);
> inMemoryKeyStore.setKeyEntry("1", _privateKey, chars, certs);
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to