gnu security

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu Jul 25 19:42:00 GMT 2002


Lars Andersen wrote:

>>MessageDigest.getInstance("SHA-1","GNU");
>>
>>generates an NoSuchAlgorithmException.
>>    
>>
>
>Browsing through the source, I realize the name of this algorithm is
>"SHA" in the gnu provider, as opposed to "SHA-1" in the sun provider.
>

The problem is that the Cryptography engine aliasing mechanism ( see 
http://java.sun.com/j2se/1.4/docs/guide/security/HowToImplAProvider.html#Aliases 
) is not implemented in our java.security code, so the SHA-1 -> SHA 
alias defined in the Gnu provider is not recognised. I started working 
on a patch last night but it might be a few days until I can test it.

regards

Bryce.




More information about the Java mailing list