[
https://issues.apache.org/jira/browse/DIRKRB-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiajia Li resolved DIRKRB-258.
------------------------------
Resolution: Invalid
> use the random2Key in generateKeys
> ----------------------------------
>
> Key: DIRKRB-258
> URL: https://issues.apache.org/jira/browse/DIRKRB-258
> Project: Directory Kerberos
> Issue Type: Improvement
> Reporter: Jiajia Li
> Assignee: Xu Yaning
>
> For example: in BackendTest.java
> {code}
> protected List<EncryptionKey> generateKeys(String principal) {
> String passwd = UUID.randomUUID().toString();
> try {
> return EncryptionUtil.generateKeys(principal, passwd,
> getEncryptionTypes());
> } catch (KrbException e) {
> throw new RuntimeException("Failed to create keys", e);
> }
> }
> {code}
> change to use randomProvider and random2Key to create EncryptionKey.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)