You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're currently using pbeWithSHAAnd3_KeyTripleDES_CBC and pbeWithSHAAnd40BitRC2_CBC for PKCS12 but they are discontinued in openssl 3.0 in flavor of stronger algorithmns like AES. We've tried multiple ways to get to AES with bountycastle 1.79 but we failed.
We're for example tried to use NISTObjectIdentifiers.id_aes256_CBC but that ends up in
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
at org.bouncycastle.pkcs.bc.PKCS12PBEUtils.getKeySize(Unknown Source) ~[bcpkix-jdk18on-1.79.jar:?]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
We're currently using
pbeWithSHAAnd3_KeyTripleDES_CBCandpbeWithSHAAnd40BitRC2_CBCfor PKCS12 but they are discontinued in openssl 3.0 in flavor of stronger algorithmns like AES. We've tried multiple ways to get to AES with bountycastle 1.79 but we failed.Current code:
We're for example tried to use
NISTObjectIdentifiers.id_aes256_CBCbut that ends up inWhats the way to use PKCS12 with AES?
Beta Was this translation helpful? Give feedback.
All reactions