[
https://issues.apache.org/jira/browse/QPID-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Rudyy resolved QPID-8254.
------------------------------
Resolution: Fixed
> [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
> Assignee: 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: [email protected]
For additional commands, e-mail: [email protected]