“Google Play 应用 – 签名问题” NoSuchAlgorithmException 异常

huangapple go评论65阅读模式
英文:

"Google play App - signing issue" NoSuchAlgorithmException exception

问题

在运行以下命令时,我们收到以下错误信息:
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

无法导出或加密私钥
java.security.NoSuchAlgorithmException: 找不到支持RSA/NONE/OAEPWithSHA1AndMGF1Padding的任何提供程序

我们已安装了最新的idk 17,但在应用签名中出现了问题

我阅读了有关bouncycastle的信息,以解决此问题,但不知道如何在Mac上安装它或在idk 17中使用它,请帮助我们。

英文:

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

答案1

得分: 2

你应该安装OpenJDK 20.0.1链接描述在此,然后再次运行该命令。

英文:

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

huangapple
  • 本文由 发表于 2023年6月22日 18:52:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/76531144.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定