keyguard-app icon indicating copy to clipboard operation
keyguard-app copied to clipboard

Infinite loading A15

Open Cyber2525 opened this issue 11 months ago • 6 comments

In my Xiaomi, hyperos 2 (android 15) the app is stuck at loading

Cyber2525 avatar Jan 18 '25 18:01 Cyber2525

Are you logged in? I need some details of when it starts to happen.

AChep avatar Jan 19 '25 10:01 AChep

KeyGenParameterSpec keyGenParameterSpec = new KeyGenParameterSpec.Builder( "keyAlias", KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_VERIFY) .setDigests(KeyProperties.DIGEST_SHA256) .setAttestationChallenge("challenge".getBytes()) .build();

KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance( KeyProperties.KEY_ALGORITHM_RSA, "AndroidKeyStore"); keyPairGenerator.initialize(keyGenParameterSpec); KeyPair keyPair = keyPairGenerator.generateKeyPair();

Image Image

Cyber2525 avatar Feb 09 '25 09:02 Cyber2525

Thanks for the logs! I'll try to look deeper into it, but at the first glance the logs report hardware communication failure which is probably a bug in the OS and need a system update.

AChep avatar Feb 10 '25 07:02 AChep

Thanks for the logs! I'll try to look deeper into it, but at the first glance the logs report hardware communication failure which is probably a bug in the OS and need a system update.

Yes, it's a problem of my software but all other apps that are encrypted are working well

You can use app data path instead, it is less secure but at least it's better than nothing (a unsafe option when creating a vault if the keystore doesn't respond/loads in 10 seconds)

Cyber2525 avatar Feb 10 '25 10:02 Cyber2525

Might be fixed by https://github.com/AChep/keyguard-app/commit/1ecd463b9ba36083a0bc9d76913d772b8bb271c4

AChep avatar Feb 15 '25 06:02 AChep

@Cyber2525 could you check if this build works for you https://github.com/AChep/keyguard-app/actions/runs/13334369769

AChep avatar Feb 15 '25 06:02 AChep