twofa

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2017 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Overview

Package twofa contains routines for getting short lived certificate.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Duration of generated cert. Default 16 hours.
	Duration = flag.Duration("duration", 16*time.Hour, "Duration of the requested certificates in golang duration format (ex: 30s, 5m, 12h)")
)

Functions

func GetCertFromTargetUrls

func GetCertFromTargetUrls(
	signer crypto.Signer,
	userName string,
	password []byte,
	targetUrls []string,
	rootCAs *x509.CertPool,
	skipu2f bool,
	logger log.DebugLogger) (sshCert []byte, x509Cert []byte, kubernetesCert []byte, err error)

GetCertFromTargetUrls gets a signed cert from the given target URLs.

Types

This section is empty.

Directories

Path Synopsis
Package twofa contains routines for getting short lived certificate.
Package twofa contains routines for getting short lived certificate.
Package vip does two factor authentication with Symantec VIP
Package vip does two factor authentication with Symantec VIP

Jump to

Keyboard shortcuts

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