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

Acount restricted encrypted json does not import passkeys #11935

Open
1 task done
kpiris opened this issue Nov 10, 2024 · 5 comments
Open
1 task done

Acount restricted encrypted json does not import passkeys #11935

kpiris opened this issue Nov 10, 2024 · 5 comments

Comments

@kpiris
Copy link

kpiris commented Nov 10, 2024

Steps To Reproduce

  1. Do an account restricted encrypted json export
  2. Import it on an empty vault

Expected Result

Passkeys from items that had them are restored.

Actual Result

Passkeys from items that had them are lost.

Screenshots or Videos

No response

Additional Context

It can be reproduced from the web vault and also from bitwarden cli.

The encrypted json file seems to have passkeys exported. But I can't tell if that export is correct, because it's encrypted.

With an unencrypted json export passkeys are correctly imported.

Operating System

Linux

Operating System Version

No response

Web Browser

Chrome

Browser Version

No response

Build Version

2024.10.5 (web) and 2024.10.0 (cli)

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@bitwarden-bot
Copy link

Thank you for reporting this issue! We've added this to our internal tracking system.
ID: PM-14682

@sammbw
Copy link

sammbw commented Nov 11, 2024

Hi there,

I am unable to reproduce this issue with a fresh account created today, and a test passkey from passkeys.io - it has been escalated for further investigation however. If you have more information that can help us such as the type of passkey or website/service the passkey was created with, please add it below.

Thanks!

@kpiris
Copy link
Author

kpiris commented Nov 11, 2024

Hi,

I don't know what else to tell you. With an old test account of mine:

  1. I purged my vaults (individual and even the family organization one).
  2. Created an item with a passkey on passkeys.io. This is now the only item in my individual vault.
  3. Exported an account restricted encrypted json; which, obviously, has only one item.
  4. Purged my vault again.
  5. Restored the export taken on step 3.
  6. Item is restored, but passkey is missing from it.

There is not much more to test. I can provide the different exports, if necessary (as I said, it's a test account).

@kpiris
Copy link
Author

kpiris commented Nov 11, 2024

I can provide the different exports, if necessary (as I said, it's a test account).

I've uploaded them here:

https://send.bitwarden.com/#DgsT6Fa41EuDgbIlAHll0g/KxC5CAfiI9bHDEq6_NWMNg

Please ask me privately for the password if you need them. They are from a test account, but I'd rather not post them publicly, as they contain a valid email address of mine.

Thanks.

@kpiris
Copy link
Author

kpiris commented Nov 11, 2024

Just now I did reproduce it again with a brand new account. Steps to reproduce:

  1. Create a brand new account (I did it on vault.bitwarden.eu).
  2. Create an item with a passkey on passkeys.io (from the browser extension on chromium).
  3. Export an account restricted encrypted json (from the web vault).
  4. Purge the vault.
  5. Restore the export taken on step 3 (also from the web vault).
  6. Check that the item is restored, but the passkey is missing from it.
  7. Delete this new account.

Doesn't differ very much from what I had already explained.

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

No branches or pull requests

3 participants