directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiajia Li (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRKRB-258) use the random2Key in generateKeys
Date Mon, 03 Aug 2015 03:38:04 GMT

     [ 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)

Mime
View raw message