[
https://issues.apache.org/jira/browse/DIRKRB-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiajia Li updated DIRKRB-258:
-----------------------------
Description:
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.
was:Create randomBytes through randomProvider in random2Key function of
EncryptionHandler.java.
> 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)