You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "javier tellez (JIRA)" <ji...@apache.org> on 2007/05/24 20:32:16 UTC

[jira] Updated: (DIRTSEC-5) Hotp values always are 6 digits long

     [ https://issues.apache.org/jira/browse/DIRTSEC-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

javier tellez updated DIRTSEC-5:
--------------------------------

    Attachment: DIRTSEC-5-1.patch

> Hotp values always are 6 digits long
> ------------------------------------
>
>                 Key: DIRTSEC-5
>                 URL: https://issues.apache.org/jira/browse/DIRTSEC-5
>             Project: Triplesec
>          Issue Type: Bug
>          Components: guardian api
>         Environment: JavaME platform and validator server
>            Reporter: javier tellez
>            Priority: Minor
>         Attachments: DIRTSEC-5-1.patch
>
>
> \triplesec\otp\src\main\java\org\safehaus\otp\HotpAttributesCipher.java 
> In that class, method  
>   
>       HotpAttributes HotpAttributesCipher.decrypt( String password, String encrypted ) {
>               ....
>               return new HotpAttributes( factor, secret );
>      }
> gets hotpAttribute as encrypted data (from Jar/jad) and extracts, between other values, hotpSize, the number of decimal digits hotp values will contain. But the returned HotpAttributes have its size set to DEFAULT_SIZE=6, so that's the size that will be used. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.