On Tue, Jul 26, 2016 at 10:35 PM, Andreas Delmelle <
> Hi Jan
> > On 26 Jul 2016, at 22:15, Jan Tosovsky <j.tosov...@email.cz> wrote:
> > Dear All,
> > I've updated local copy to the current (mavenized) version and I am
> > build (Oracle JDK 1.8) the FOP Core project:
> > (1) testAES256() fails with
> > java.lang.IllegalStateException: java.security.InvalidKeyException:
> > key size
> > at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
> > ...
> > at
> > o.a.f.pdf.PDFEncryptionJCETestCase.testAES256(
> > 468)
> Are you on OS X/macOS?
> I am not entirely sure, but I seem to recall running into that as well. It
> just means you need to download the "unlimited strength" encryption policy
> files from Oracle. They made that a separate download, just like in the
> good old Sun days. On OS X, when Apple maintained their own JDK, it was
> always included. I only ran into that after Apple abandoned maintenance of
> the JDK for OS X...
> see - http://www.oracle.com/technetwork/java/javase/
I am on OS X and I can confirm I had the same issue and the solution
proposed by Adreas did the trick, thank you!