yubi-oath-vpn

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2018 License: MIT Imports: 22 Imported by: 0

README

yubi-oath-vpn

Simply insert your Yubikey to an USB-slot and connect to your 2FA-VPN.

Usage

yubi-oath-vpn --connection=<connection name>

Will start the program and connect as soon as the Yubikey is inserted (and not already connected)

Limitations

  • The Yubikey must have a password
  • nmcli is required to bring up the VPN (so Linux only?)
  • Only works with OpenVPN
  • VPN must use tun device
  • Must be the only tun device
  • VPN must use TOTP

Background

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 distro.

Disclaimer

Only tested against a single Yubikey version. It's my first go project. Expect bugs and low code quality.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL