Skip to content

Add functions for generic secret management to ElectronPlatform interface #26405

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

Closed

Conversation

Nils1729
Copy link

@Nils1729 Nils1729 commented Oct 20, 2023

This PR extended the IPC interface between the electron platform and application. The interface can be used to set, retrieve and destroy arbitrary secrets, similar to saving pickle keys. Notably, these changes allow setting a value for a secret instead of just generating a random one and retrieving it.

Why?

For element-desktop, this functionality is intended to be used for persisting security keys on a machine with little user interaction, in an effort to reduce the complexity for non-tech users to not lose their encryption keys and thus access to messages. See matrix-org/matrix-react-sdk#11776.

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

Notes: none


This PR currently has none of the required changelog labels.

A reviewer can add one of: T-Deprecation, T-Enhancement, T-Defect, T-Task to indicate what type of change this is, or add Type: [enhancement/defect/task] to the description and I'll add them for you.

@Nils1729 Nils1729 force-pushed the feature/platform-secrets branch from 449f104 to 8fe19b6 Compare November 18, 2023 10:49
@Nils1729 Nils1729 closed this May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant