ssh_ca

package
v0.0.0-...-d01aba2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2015 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadRequesterConfig

func LoadRequesterConfig(config_path string) (map[string]RequesterConfig, error)

func LoadSignerConfig

func LoadSignerConfig(config_path string) (map[string]SignerConfig, error)

func LoadSignerdConfig

func LoadSignerdConfig(config_path string) (map[string]SignerdConfig, error)

func MakeFingerprint

func MakeFingerprint(key_blob []byte) string

Types

type RequesterConfig

type RequesterConfig struct {
	PublicKeyPath string
	SignerUrl     string
}

type SignerConfig

type SignerConfig struct {
	KeyFingerprint string
	SignerUrl      string
}

type SignerdConfig

type SignerdConfig struct {
	SigningKeyFingerprint string
	AuthorizedSigners     map[string]string
	AuthorizedUsers       map[string]string
	NumberSignersRequired int
}

type SshCertificate

type SshCertificate struct {
	ssh.Certificate
}

func (*SshCertificate) BytesForSigning

func (c *SshCertificate) BytesForSigning() []byte

func (*SshCertificate) GoString

func (c *SshCertificate) GoString() string

func (*SshCertificate) ValidityPeriodString

func (c *SshCertificate) ValidityPeriodString() string

Jump to

Keyboard shortcuts

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