Mantis - Quercus
Viewing Issue Advanced Details
4268 minor always 10-21-10 17:53 10-21-10 17:53
javajman  
 
normal  
new 4.0.11  
open  
none    
none  
0004268: Security Algorithm Issue.
Let me know if you need more information:

OS: Mac Snow Leopard
Java: 1.6
Servers tested on: Resin and Tomcat.

Problem: ERROR: hash_init: HmacSHA-256 is an unknown algorithm

Fix:

Changed HashModule static Map loading to fix finding algorithm.

  static {
    _algorithmMap.put("md2", "MD2");
    _algorithmMap.put("md5", "MD5");
    _algorithmMap.put("sha1", "SHA");
    _algorithmMap.put("sha256", "SHA256"); // Fix for not found algorythm
    _algorithmMap.put("sha384", "SHA-384");
    _algorithmMap.put("sha512", "SHA-512");
  }

There are no notes attached to this issue.