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.
Click to show internal directories.
Click to hide internal directories.