
Product
Go Support Is Now Generally Available
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
github.com/MeneDev/yubi-oath-vpn
Simply insert your Yubikey to an USB-slot and connect to your 2FA-VPN.
Windows (experimental, see below)
yubi-oath-vpn /connection=<OpenVPN configuration name> [/slot=user@example.com]
Linux
yubi-oath-vpn --connection=<connection name> [--slot=user@example.com]
Will start the program and connect as soon as the Yubikey is inserted (and not already connected)
If the slot
argument is omitted, the first slot is used.
Win+R
, type shell:startup
, hit enter.New
> Shortcut
and enter the path to the extracted executable (yubi-oath-vpn-win_amd64.exe) /connection <OpenVPN configuration name>
to the targetYou can locate your OpenVPN configurations in %USERPROFILE%\OpenVPN\config\
.
The configurations must have the extension ovpn
, use the filename without extension as <OpenVPN configuration name>
Example:
client.ovpn
becomes /connection client
%USERPROFILE%\OpenVPN\config
We use Yubikeys for two factor authentication against our VPN. We have a Bash script with similar functionality, but the tools (ykman, yubioath) keep changing and dbus-monitor was behaving differently depending on Linux distribution.
Only tested against one Yubikey 4 and one Yubikey 5 version. It's my first go project. Expect bugs and low code quality. That being said it's in active use for several years on different systems and seems to work just fine.
FAQs
Unknown package
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.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.