This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |