beemdevelopment / Aegis

A free, secure and open source app for Android to manage your 2-step verification tokens.

Home Page:https://getaegis.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login fails to open after correct password and sends user back to login page

Jujubash opened this issue · comments

Version

3.0.1

Source

F-Droid

Vault encryption

Yes

Device

Pixel 6a

Android version

Android 14

ROM

GrapheneOS

Steps to reproduce

Unlocking not working:

  1. Try to login with correct password
  2. Press the unlock button
    Empty menu problem:
  3. Get out of the app
  4. re-enter the app

What do you expect to happen?

Unlock to enter the main menu

What happens instead?

Either:

  • Loads a blank page and then goes back to login
  • When you leave the app, it shows the main menu, but empty

Log

type: crash
osVersion: google/bluejay/bluejay:14/AP2A.240605.024/2024061400:user/release-keys
package: com.beemdevelopment.aegis:65
process: com.beemdevelopment.aegis
processUptime: 21611 + 328 ms
installer: org.fdroid.fdroid

java.lang.OutOfMemoryError: Failed to allocate a 31447760 byte allocation with 3448448 free bytes and 3367KB until OOM, target footprint 268435456, growth limit 268435456
	at com.android.org.conscrypt.OpenSSLAeadCipher.reset(OpenSSLAeadCipher.java:140)
	at com.android.org.conscrypt.OpenSSLAeadCipher.doFinalInternal(OpenSSLAeadCipher.java:377)
	at com.android.org.conscrypt.OpenSSLCipher.engineDoFinal(OpenSSLCipher.java:374)
	at javax.crypto.Cipher.doFinal(Cipher.java:2074)
	at androidx.core.os.BundleKt.decrypt(SourceFile:18)
	at com.beemdevelopment.aegis.vault.VaultFileCredentials.decrypt(SourceFile:19)
	at com.beemdevelopment.aegis.vault.VaultFile.getContent(SourceFile:25)
	at com.beemdevelopment.aegis.vault.VaultManager.loadFrom(SourceFile:61)
	at com.beemdevelopment.aegis.ui.AuthActivity.access$200(SourceFile:12)
	at androidx.fragment.app.Fragment$7.onTaskFinished(SourceFile:73)
	at com.beemdevelopment.aegis.ui.tasks.PBKDFTask.onPostExecute(SourceFile:699)
	at android.os.AsyncTask.finish(AsyncTask.java:771)
	at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0)
	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8623)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
	at com.android.internal.os.ExecInit.main(ExecInit.java:50)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)

I also had a black screen after unlock reboot fixed it

Before posting this bug, I've updated everything and afterwards rebooted my device 3 times. No, it's not about rebooting in my case.

This is probably a duplicate of #1298.

@Jujubash Does #1298 (comment) seem like a plausible description for you situation?

@alexbakker No, as I don't use encrypted backups.

@Jujubash I'm talking about my comment here specifically: #1298 (comment). This applies to all large vault files. How large is yours?

@alexbakker yes, that could be the case. I've used some pictures for each icon, some of them are probably bigegr than 512 x 512 pixels.

Having this issue, seemingly after the latest Play Store update which was today, and I have 61 entries and the backup is 148KB.

@austinbutler Are you sure this is the same issue? Could you share the stacktrace you're seeing?

I found if I let it sit for long enough it eventually loads. But it's a blank screen for at least 30 seconds.