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

failed to deserialize keys buffer #8684

Closed
Gingeropolous opened this issue Dec 20, 2022 · 4 comments
Closed

failed to deserialize keys buffer #8684

Gingeropolous opened this issue Dec 20, 2022 · 4 comments

Comments

@Gingeropolous
Copy link
Collaborator

https://old.reddit.com/r/monerosupport/comments/zpz5zs/keys_file_cant_restore_couldnt_open_wallet/

this is the second instance I've seen of this. Old monero users getting new software and running into this with old wallet files.

and if there's 2 people that post something, that means there's millions!

someone on IRC says its probably a corrupt file.

@afungible
Copy link

And which version are the users talking about? Latest is v0.18.1.2

Might it be a good to check the delta of bool wallet2::load_keys_buf(..) with previous version where this wallet file worked.
https://github.com/monero-project/monero/blob/master/src/wallet/wallet2.cpp#L4181

@selsta
Copy link
Collaborator

selsta commented Dec 21, 2022

Is there anyone who reported that they have a .keys file that opens with an old version and doesn't with a new version? If yes, which exact version breaks?

So far I feel like this is just a corrupted file.

@plowsof
Copy link
Contributor

plowsof commented Dec 23, 2022

testing with monero-wallet-cli v0.10.0.0 Sep 19, 2016:

  • cli v18.1.2 opens the keys file without issue
  • gui v18.1.2 will complain - but will open the wallet without issue after cli creates the cache for it (no mention of deserialize here in this particular version)
Error opening wallet with password:  boost::filesystem::copy_file: Invalid argument: "/home/username/Downloads/monero.linux.x64.v0-10-0-0/wallet-v0.10_2", "/home/username/Downloads/monero.linux.x64.v0-10-0-0/wallet-v0.10_2.unportable"

@selsta
Copy link
Collaborator

selsta commented Mar 10, 2023

Since there's no clear way to reproduce (@plowsof did testing) and no other reports I'll close this for now. It's highly likely simply a corrupted wallet file.

@selsta selsta closed this as completed Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants