Skip to content

feat(#296): cert store for inline .ovpn certs#323

Merged
cachebag merged 2 commits intodev-openvpnfrom
inline-cert
Apr 4, 2026
Merged

feat(#296): cert store for inline .ovpn certs#323
cachebag merged 2 commits intodev-openvpnfrom
inline-cert

Conversation

@cachebag
Copy link
Copy Markdown
Owner

@cachebag cachebag commented Apr 4, 2026

This PR adds a cert store so inline PEM from .ovpn files gets written to $XDG_DATA_HOME/nmrs/certs/<name>/ with 0600 permissions. OpenVpnConfig::from_ovpn_file handles the conversion and forget_vpn cleans up the cert directory when deleting OpenVPN connections.

Closes #296.

@cachebag cachebag self-assigned this Apr 4, 2026
@cachebag cachebag added feature New feature or request nmrs Changes to nmrs refactor Change or improve code vpn Changes to VPN surface labels Apr 4, 2026
@cachebag cachebag merged commit 4008b87 into dev-openvpn Apr 4, 2026
4 of 6 checks passed
@cachebag cachebag deleted the inline-cert branch April 4, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request nmrs Changes to nmrs refactor Change or improve code vpn Changes to VPN surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant