Skip to content

Instantly share code, notes, and snippets.

View ArturKlauser's full-sized avatar

Artur Klauser ArturKlauser

  • Bay Area, CA, USA
View GitHub Profile
@ArturKlauser
ArturKlauser / onc_converter.py
Last active July 9, 2024 13:43 — forked from trexx/onc_converter.py
The .ovpn to .onc converter
#!/usr/bin/python
# The .ovpn to .onc converter
# This tool parses an 'inline' OpenVPN profile (certs and keys are included within the .ovpn file)
## and spits out a Open Network Configuration file which can be imported in to ChromeOS.
# Open Network Configuration specs can be found here
## https://chromium.googlesource.com/chromium/src/+/master/components/onc/docs/onc_spec.md
# Original credit goes to Steve Woodrow (https://github.com/woodrow)