demo

command
v0.0.0-...-989da53 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2018 License: MIT Imports: 9 Imported by: 0

README

Demo app

This program needs a "keys.yml" file with the following elements:

---
ikey: duo_integration_key
skey: duo_secrect_key
akey: your_application_key # generate one with: openssl rand -hex 20
host: duo_api_host

Create one or copy and edit keys-template.yml

Steps

  • Create a new application in your Duo Security account. Get the keys and API hostname
  • Edit the keys.yml file with your credentials (or copy and use -c your-keys-file.yml)
  • Get the Duo Security Javascript file and put it in static/: curl -L -o static/Duo-Web-v2.min.js https://raw.githubusercontent.com/duosecurity/duo_python/master/js/Duo-Web-v2.min.js
  • go get to get dependencies
  • go build to build demo
  • Run ./demo
  • Test it out!

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