Skip to content

Error parsing PKCS private key for Box Developer Edition in JAVA 1.8.0_161 #567

@misterfifi1

Description

@misterfifi1

Hi,

I am using the latest version of JAVA 1.8, which contains by default the unlimited Policy setting required for PKCS Private key. Unfortunately, when I create a JAR then launch it with the save java version I get this error: "Error parsing PKCS private key for Box Developer Edition"

Java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

FYI the Cipher.getMaxAllowedKeyLength("AES") returns: 2147483647, so should be enough to work.

I hope that you can help me.

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionAdded to questions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions