cryptoauth

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package cryptoauth contains the logic to perform ASCII Crypto Challenge. When the ssh-agent is not found by PAM-SSHCA, the authentication module falls back to this form of manual authentication.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
	*ssh.CertChecker
	// contains filtered or unexported fields
}

Authenticator is the struct to perform ASCII Crypto Challenge with users without accessing ssh-agent.

func NewAuthenticator

func NewAuthenticator(config conf.Config, clientArgs string, certChecker *ssh.CertChecker, additionalCertCheckers ...checker) *Authenticator

NewAuthenticator returns a new Authenticator.

func (*Authenticator) Authenticate

func (a *Authenticator) Authenticate(principal string, syslogger *syslog.Writer) error

Authenticate performs the authentication for the principal.

Jump to

Keyboard shortcuts

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