
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
How to use::
from vpnocchio import VPN, init_logging
from threading import Thread
init_logging()
# set your dir with ovpn files, default is:
VPN.conf_dir = '/etc/openvpn
# set minimum seconds must elapse between reconnects
VPN.min_time_before_reconnect = 30
credentials = [('usr1', 'pwd1', 'Germany'),
('usr1', 'pwd2', 'Spain')]
def do_something(*args):
vpn = VPN(*args)
for one in range(2):
# it has requests inside
response = vpn.get('http://ip.barjomet.com')
vpn.log.info('Hooray, here is desired data: %s', response.text)
vpn.new_ip()
vpn.disconnect()
for username, password, match_config_name in credentials:
Thread(target=do_something,
args=(username,
password,
match_config_name)).start()
FAQs
Just a Python module suitable to use multiple OpenVPN connections at same time
We found that VPNocchio 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.