[Opendnssec-user] Key Wrapping with SUNPKCS11 and SoftHSM

Sitaraman Vilayannur vrsitaramanietflists at gmail.com
Mon Jan 20 12:52:23 UTC 2014


Thanks Rickard, I am using Version 1 will try with version 2.
Sitaraman


On Mon, Jan 20, 2014 at 3:45 PM, Rickard Bellgrim <rickard at opendnssec.org>wrote:

>
>
>> I get an error statingjava.security.InvalidKeyException: No installed
>> provider supports this key: sun.security.pkcs11.P11Key$P11RSAPublicKey at
>> javax.crypto.Cipher.chooseProvider(Cipher.java:878) at
>> javax.crypto.Cipher.init(Cipher.java:1213) at
>> javax.crypto.Cipher.init(Cipher.java:1153) at
>> softhsm.SoftHSM.main(SoftHSM.java:96)
>>
>
> The error states that the mechanism is not supported. Are you using
> SoftHSMv1? Version 1 does not have support for symmetric crypto and key
> wrapping. Version 2 does, but it is still under development.
>
> // Rickard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20140120/95feb231/attachment.htm>


More information about the Opendnssec-user mailing list