Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] EncryptedLocalStore doesn't work #1829

Closed
itlancer opened this issue Apr 7, 2022 · 3 comments
Closed

[Linux] EncryptedLocalStore doesn't work #1829

itlancer opened this issue Apr 7, 2022 · 3 comments
Labels

Comments

@itlancer
Copy link

itlancer commented Apr 7, 2022

Problem Description

EncryptedLocalStore doesn't work with Linux devices.
It just throw exception when you try to use it.
Tested with latest AIR 33.1.1.795 with Ubuntu 20.04.2.

It works fine with other platfroms (Windows, macOS, Android, iOS).
EncryptedLocalStore.isSupported always returns true in all these cases.

Related issue (that was earlier for Windows/macOS): #205

Steps to Reproduce

Launch code below.

Application example with sources attached.
encrypted_local_store_linux_bug.zip

var bytes:ByteArray = EncryptedLocalStore.getItem("test");

Actual Result:
Exception will be throwed:

Error: EncryptedLocalStore is out of memory
at flash.data::EncryptedLocalStore$/processErrorCode()
at flash.data::EncryptedLocalStore$/getItem()

Expected Result:
EncryptedLocalStore.getItem returns ByteArray with data of specified name without exceptions.

Known Workarounds

none

@itlancer
Copy link
Author

itlancer commented Sep 8, 2022

Issue still exists. With latest AIR 33.1.1.929 and Ubuntu 22.04.1 LTS actual result (error):

Error: EncryptedLocalStore database access error
	at flash.data::EncryptedLocalStore$/processErrorCode()
	at flash.data::EncryptedLocalStore$/getItem()

@itlancer
Copy link
Author

@ajwfrost, issue still exists with latest AIR 50.0.0.1

@itlancer
Copy link
Author

Fixed with latest AIR 50.0.1.1.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant