Documentation ¶
Overview ¶
Package filter contains the logic to filter the public keys. It offers additional restrictions on SSH certificates and SSH public keys.
Index ¶
Constants ¶
View Source
const EmbeddedPrefix = "embedded:"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandFilter ¶
type CommandFilter struct {
// contains filtered or unexported fields
}
CommandFilter encapsulates the path and the logic to invoke the program that offers additional restrictions on public keys.
func NewCommandFilter ¶
func NewCommandFilter(filterPath string) (*CommandFilter, error)
NewCommandFilter returns a command filter.
func (*CommandFilter) Filter ¶
func (f *CommandFilter) Filter(input []byte) []byte
Filter invokes the filter program and returns the qualified keys.
type SudoFilterRegular ¶
type SudoFilterRegular struct{}
SudoFilterRegular filters the certificates with SSHCA regular certificates.
func (*SudoFilterRegular) Filter ¶
func (*SudoFilterRegular) Filter(input []byte) []byte
Filter filters the certificates with SSHCA regular certificates.
Click to show internal directories.
Click to hide internal directories.