elementary / elementary/settings-network

Allow to protect not yet protected .ovpn private key with user account's password

Open
#355 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
22
Forks
25
PR merge metrics
No merged PRs in 30d

Description

### Problem

I created a .ovpn file where the included private key is not password protected.
I want the private key to be password protected at rest.

### Proposal

When importing an .ovpn file that contains a non-password-protected private key, show a dialog which allows the user to opt in for protecting the private key with the user accounts password.
It should behave like a password protected SSH key that you can decrypt by providing your user account's password (there is a way to have your SSH key automatically be unlocked when you log in to your account - this should also still be possible for .ovpn).
I don't know where all the things are stored and how the user account login auto-unlock thingy works so I don't know how to describe the above in a technically correct way.

Importing of ovpn via opening the ovpn file (#354) should also allow to choose to protect the private key in the imported file

### Prior Art (Optional)

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.