-
Notifications
You must be signed in to change notification settings - Fork 46
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
Error while deriving the key (kdf_open) while importing Aegis encrypted JSON #376
Comments
Hello,
|
Hello, sorry for the late reply. |
And ... well, this is new: freshly booted laptop, I got this error:
I was looking to import any other key and then Aegis to try. |
installed from repo or from flatpak? |
Installed from the repo. My bad; I needed to be more precise in the first post. |
I tried with Twitter 2FA, same error. |
Same thing here. Installed it from flatpak, and I get this error when importing any type of exported file. Edit: rolling back to 3.6.0 fixed the issue, then I was able to update to the latest version and preserve all imported keys |
@GuilhermeReda wait, what? You upgraded to v4, opened the database, downgraded to v3 and still were able to open the db? The same exact db? |
other way around. I tried importing from v4, got the error described above. reverted to 3.6, imported my backup, then upgraded to v4 again and the db was there |
ah ok, makes sense. Tomorrow I'll look at this bug with high priority, sorry all. |
I tried andotp_exports.json.aes, andotp_exports.json and aegis_encrypted.json. All failed. |
That's happening because you don't have enough secure memory available. Please have a look at the wiki on how to increase it. |
@GuilhermeReda you're also on Fedora, right? |
found and fixed the bug, will make a new release by late morning |
Grande Paolo! |
about this
I can only randomly reproduce it. It's something that happens on the OS when the memlock is insufficient. I will add a stricter check on the memlock value. |
It may be related to Fedora. I've used OTPClient on Ubuntu, and I've never noticed messages. |
You're not the only one having issues on Fedora. I don't know what kind of security they have in place, but on Ubuntu, openSUSE and Arch I've never seen such thing. Just to compare, could you check |
On my machines, I have: |
there you go! You have 8 MiB on Fedora (why so low by default?!?!) VS 2 and 3 GB on Ubuntu... |
Understood. |
yes, I can confirm that. I've just installed Fedora 40 and I also got 8192. I need to think whether to exit in such case or continue operation, because it's not easy to detect the error you posted above. It comes abruptly without any chance of catching it. |
Hello, Just a question:
|
@IoSonoPiero not yet. Got caught up with other things. |
No worries at all. I just got the update from the repo. |
It works! |
Hello,
I used OTPClient on Ubuntu without issues until I moved to Fedora 40.
I get the error: "Error while deriving the key (kdf_open)" when I open a file I created on Aegis on my Android smartphone.
I've always used OTPClient and imported the file several times.
I have the latest package for Fedora.
I've attached the screenshot of the error if it can be helpful.
I'm available to do tests so OTPClient can be used again (at least on my machine if it's my issue).
Thanks!
Note: I am having the same error when using the Flatpak version.
The text was updated successfully, but these errors were encountered: