Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Request: Option to export and import credentials. #13

Open
ViniciusFXavier opened this issue Aug 19, 2021 · 1 comment
Open

Request: Option to export and import credentials. #13

ViniciusFXavier opened this issue Aug 19, 2021 · 1 comment

Comments

@ViniciusFXavier
Copy link

The reason is very simple, today I use it to authenticate, but I have to format my computer so I'll lose all my keys or I'll have to save it by hand. D:

The idea is to put a way to export and import the keys, to maintain security it would be good to have some kind of password encryption for this exported file and when it is re-imported you have to enter the same password, plus an option to export without password.

Maybe you can also use google's own API with the storage.sync function to sync them across the user's other devices.
https://developer.chrome.com/docs/extensions/reference/storage/

// Save
chrome.storage.sync.set({ name: 'Vinícius' }, function() {
  console.log('Name saved');
});

// Later on...
chrome.storage.sync.get('name', function(r) {
  console.log('Name retrieved: ' + r['name']);
});
@nsatragno
Copy link
Member

Export and import is definitely on the roadmap for the WebAuthn Devtools panel (which supersedes this extension... I should really mark this repo as deprecated).

That said, I am curious about your comment about formatting your PC. Credentials are supposed to be cleared when you close the tab, are they somehow persisting? That would be a (serious) bug, but I don't see how that could possibly be the case.

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

No branches or pull requests

2 participants