[Feature Request] Whitelist java.security.PrivateKey and related classes in app code

I need to parse a PEM encoded RSA private key to sign a JWT to implement Google's ReportState API in the Google Home Community app. The version of Nimbus + Jose that is available on the hub is old and doesn't have the JWK.parseFromPemEncodedObjects method, so I would like to parse the key manually. For this I need access to the java.security.PrivateKey, java.security.KeyFactory, and java.security.spec.RSAPrivateKeySpec classes, which I am currently not able to import.

Please either update the version of Nimbus + Jose that is available on the hub or whitelist PrivateKey and related classes.

6 Likes

Bump. Maybe this is something in @gopher.ny's wheelhouse?

2 Likes

@gopher.ny Is this request something that could be included in the next release, 2.3.4 that is currently in beta?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.