Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2015 20:25:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 203017] java/openjdk8: unlimited strength policy option not working
Message-ID:  <bug-203017-8522-LM6QPtSBFv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203017-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203017-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203017

Jung-uk Kim <jkim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jkim@FreeBSD.org

--- Comment #2 from Jung-uk Kim <jkim@FreeBSD.org> ---
It seems working fine for me.

% cat TestUCE.java
import javax.crypto.Cipher;

public class TestUCE {
  public static void main(String args[]) throws Exception {
    boolean unlimited =
      Cipher.getMaxAllowedKeyLength("RC5") >= 256;
    System.out.println("Unlimited cryptography enabled: " + unlimited);
  }
}
% /usr/local/openjdk8/bin/javac TestUCE.java 
% /usr/local/openjdk8/bin/java TestUCE
Unlimited cryptography enabled: true
% /usr/local/linux-oracle-jdk1.8.0/bin/java TestUCE
Unlimited cryptography enabled: false

Note the test code was taken from here:

http://stackoverflow.com/questions/7953567/checking-if-unlimited-cryptography-is-available

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203017-8522-LM6QPtSBFv>