java.security.NoSuchAlgorithmException

KeyPairGenerator RSA implementation not found

Samebug tips2

Upgrade to Hawk v1.14 or later

Change robovm configuration to force Bouncycastle provider.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web889

  • KeyPairGenerator RSA implementation not found
  • KeyPairGenerator EC implementation not found
  • via GitHub by 2-4601
    , 1 year ago
    KeyPairGenerator ECDH implementation not found
  • Stack trace

    • java.security.NoSuchAlgorithmException: KeyPairGenerator RSA implementation not found at org.apache.harmony.security.fortress.Engine.notFound(Engine.java:177) at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:151) at java.security.KeyPairGenerator.getInstance(KeyPairGenerator.java:85) at com.google.firebase.iid.zza.zzbms(Unknown Source) at com.google.firebase.iid.zzg.zzcxd(Unknown Source) at com.google.firebase.iid.zzd.zzb(Unknown Source) at com.google.firebase.iid.zzd.zzcxa(Unknown Source) at com.google.firebase.iid.zzd.zzbmu(Unknown Source) at com.google.firebase.iid.FirebaseInstanceId.getInstance(Unknown Source) at com.google.firebase.iid.FirebaseInstanceId.zzcww(Unknown Source) at com.google.firebase.iid.FirebaseInstanceIdService.zzaa(Unknown Source) at com.google.firebase.iid.FirebaseInstanceIdService.zzm(Unknown Source) at com.google.firebase.iid.zzb$2.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) at java.lang.Thread.run(Thread.java:856)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago