Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Google play App - signing issue" NoSuchAlgorithmException exception

while runing below command we get below error java -jar pepk.jar --keystore=foo.keystore --alias=foo --output=encrypted_private_key_path --rsa-aes-encryption --encryption-key-path=/path/to/encryption_public_key.pem

Unable to export or encrypt the private key java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/NONE/OAEPWithSHA1AndMGF1Padding

We have latest idk 17 installed but issue coming with app signing

I read about bouncycastle to fix this but no idea how can install for mac or use it for idk 17 etc please help us

like image 313
sandeep Avatar asked Sep 08 '26 16:09

sandeep


1 Answers

I got the same problem, you should install OpenJDK 20.0.1, and run the command again.

like image 189
22ll.cd Avatar answered Sep 11 '26 07:09

22ll.cd



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!