![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
python-openvpn-client
Advanced tools
This package allows an OpenVPN connection to be established
seamlessly given a config.ovpn
file and then later be
disconnected when instructed to. The functionality is tested to
work on macOS and Linux (images: macOS-latest
and ubuntu-24.04
).
Note: Testing requires openvpn >= 2.6
since the used peer-fingerprint
feature was first introduced then.
# connect
python3 -m openvpnclient --config=path/to/ovpn/config
# disconnect
python3 -m openvpnclient --disconnect
from openvpnclient import OpenVPNClient
# manually connect and disconnect
vpn = OpenVPNClient(ovpn_file)
vpn.connect()
# interact with network
vpn.disconnect()
# utilize context handler
with OpenVPNClient(ovpn_file):
# interact with network
Create virtual environment and install dependencies:
python3 -m venv venv
source venv/bin/activate
pip install -r prod-requirements.txt
After making changes, make sure the tests pass:
pip install -r test-requirements.txt
pytest tests/test_openvpnclient.py -s -v
Create a PR from the feature branch with the incorporated changes.
An autouse fixture (await_openvpn_cleanup
) forces a delay between
all tests. Given the rapid closing and opening of the same socket, this
timeout can be adjusted to make sure the socket is ready for
subsequent test.
FAQs
An API for managing an OpenVPN connection
We found that python-openvpn-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.