ge0rg / aprsdroid

APRSdroid - Geo-Location for Radio Amateurs
https://aprsdroid.org/
GNU General Public License v2.0
504 stars 96 forks source link

Unable to import my LotW Certificate #337

Open jmccomb1979 opened 1 year ago

jmccomb1979 commented 1 year ago

I get the following error..

Error importing certificate: error constructing MAC: java.security.InvalidKeyException: No installed provider supports this key: com.android.bouncycastle.jcajce.PKCS12Key!

ge0rg commented 1 year ago

This is a rather strange bug, it looks like your Android device is lacking the respective PKCS12 library. Which vendor and model and Android version are you on?

kholia commented 1 year ago

Hello!

I am running into this error message too when trying to import the LoTW certificate. The corresponding LoTW certificate was exported by TSQL V2.6.5.

I am using Redmi Note 12 Pro+ phone which is running Android 12.

osakaleland commented 1 year ago

Having the same issue with Android 13 on grapheneos (Old Pixel 4). In my case it may be related to grapheneos. Previous versions of Android on this phone had no issues with importing a certificate.

osakaleland commented 1 year ago

Having the same issue with Android 13 on grapheneos (Old Pixel 4). In my case it may be related to grapheneos. Previous versions of Android on this phone had no issues with importing a certificate.

I've been able to to import a cert if I convert it with the -legacy flag with openssl. Seems to be a LOTW issue.