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

[desktop] use electron safeStorage to store device keys #3742

Closed
wants to merge 1 commit into from

Conversation

ganthern
Copy link
Contributor

  • renames PathUtils.swapFilename to replaceLastComponent
  • provides a new impl for SecretStorage
  • uses electron.safeStorage to encrypt the device key that then gets
    stored in a file in app.getPath('userData')/safe_storage/
  • from now on, per-user data is encrypted with a per-user key,
    even for per-machine installs.

#3733
close #3676

* renames PathUtils.swapFilename to replaceLastComponent
* provides a new impl for SecretStorage
* uses electron.safeStorage to encrypt the device key that then gets
stored in a file in app.getPath('userData')/safe_storage/
* from now on, per-user data is encrypted with a per-user key,
even for per-machine installs.

#3733
close #3676
@ganthern
Copy link
Contributor Author

closing this because electron/electron#32206 doesn't get any reaction

@ganthern ganthern closed this Jan 27, 2022
rezbyte pushed a commit that referenced this pull request Nov 22, 2023
bedhub pushed a commit that referenced this pull request Nov 23, 2023
Translated to TypeScript from PR #3742
ganthern added a commit that referenced this pull request Nov 23, 2023
Translated to TypeScript from PR #3742
ganthern added a commit that referenced this pull request Nov 23, 2023
Translated to TypeScript from PR #3742
ganthern added a commit that referenced this pull request Nov 24, 2023
Translated to TypeScript from PR #3742
ganthern added a commit that referenced this pull request Nov 24, 2023
Translated to TypeScript from PR #3742
ganthern added a commit that referenced this pull request Nov 27, 2023
Translated to TypeScript from PR #3742
murilopereirame pushed a commit that referenced this pull request Nov 27, 2023
murilopereirame pushed a commit that referenced this pull request Nov 27, 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

Successfully merging this pull request may close these issues.

use electron safeStorage
1 participant