question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android-P support

See original GitHub issue

Hi,

Is there any plan to support Android P with this library? I’m seeing the following error with the dev preview 2, though the test app UI reports encryption and decryption works correctly. Thanks.

05-30 11:39:56.140 8438-8438/de.adorsys.android.securestoragetest W/KeyStore: KeyStore exception android.os.ServiceSpecificException: (code 7) at android.os.Parcel.createException(Parcel.java:1956) at android.os.Parcel.readException(Parcel.java:1910) at android.os.Parcel.readException(Parcel.java:1860) at android.security.IKeystoreService$Stub$Proxy.get(IKeystoreService.java:786) at android.security.KeyStore.get(KeyStore.java:195) at android.security.keystore.AndroidKeyStoreSpi.engineGetCertificateChain(AndroidKeyStoreSpi.java:118) at java.security.KeyStoreSpi.engineGetEntry(KeyStoreSpi.java:484) at java.security.KeyStore.getEntry(KeyStore.java:1560) at de.adorsys.android.securestoragelibrary.KeystoreTool.getPublicKey(KeystoreTool.java:159) at de.adorsys.android.securestoragelibrary.KeystoreTool.encryptMessage(KeystoreTool.java:75) at de.adorsys.android.securestoragelibrary.SecurePreferences.setValue(SecurePreferences.java:45) at de.adorsys.android.securestoragetest.MainActivity.handleOnGenerateKeyButtonClick(MainActivity.kt:88) at de.adorsys.android.securestoragetest.MainActivity.access$handleOnGenerateKeyButtonClick(MainActivity.kt:38) at de.adorsys.android.securestoragetest.MainActivity$onCreate$1.onClick(MainActivity.kt:48) at android.view.View.performClick(View.java:6597) at android.view.View.performClickInternal(View.java:6574) at android.view.View.access$3100(View.java:778) at android.view.View$PerformClick.run(View.java:25881) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6649) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:826)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
drilonrecicacommented, Sep 21, 2018

implementation "de.adorsys.android:securestoragelibrary:1.0.3" Secure Storage version 1.0.3 is released and ready to use. We fixed the issue that was showing the warning on Android P.

Thanks to @DrGlass for posting the solution and thanks to everyone else for your support in trying to resolve this issue.

2reactions
AdrianGlasnappcommented, Sep 12, 2018

Guys, check my answer here: https://stackoverflow.com/questions/52024752/android-p-keystore-exception-android-os-servicespecificexception/52295484#52295484

It solved this issue in my project where I was accessing KeyPair generated in KeyStore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Help - Google Help
Official Android Help Center where you can find tips and tutorials on using Android and other answers to frequently asked questions.
Read more >
Support Library - Android Developers
This document provides an overview of the support library to help you understand its components and how to use it effectively in your...
Read more >
Phone > Android - Support.com TechSolutions
This guide will help you solve problems you may have with your Android device not sending, receiving, or syncing your email. Troubleshoot.
Read more >
Android Support - Verizon
Android ™ Support. Explore more ways to enjoy your mobile life with Android operating system (OS). Each new Android OS version provides more...
Read more >
ARCore supported devices - Google Developers
Manufacturer Device model Comments Asus ROG Phone Asus ROG Phone II Asus ROG Phone III Supports Depth API
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found