Replies: 1 comment
|
I would still be interested in this topic, since the only option I have for now is the integration with GnuPG, though I would prefer to keep this integration in Java. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I need to use OpenPGP with a Luna HSM, currently integrated via the JCPROV PKCS#11 Wrapper. The wrapper offers a set of APIs that aim to stay as close as possible to PKCS#11.
I see that the Luna could be used with the PGP implementation of BouncyCastle via its JCE provider, in combination with the
JcaOpenPGPImplementation. However, JCE is unfortunately not an option for my use case because I need to keep the more fine-grained crypto operations that PKCS#11 supports and JCE does not.I started looking into how to implement a custom
OpenPGPImplementationbased on JCPROV: my best shot so far is to extendBcOpenPGPImplementationand override all the parts that eventually deal with the low-level crypto operations to be executed inside the HSM. However, the complexity goes up quite fast.Is there any reference or guidance I could follow for such a use case?
Thanks in advance for any feedback!
Relates to:
All reactions