signer

package
v0.0.0-...-7f6b342 Latest Latest
Warning

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

Go to latest
Published: May 22, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeySigner

type KeySigner struct {
	// contains filtered or unexported fields
}

KeySigner does the work of signing a ssh public key with the CA key.

func New

func New(conf config.SSH) (*KeySigner, error)

New creates a new KeySigner from the supplied configuration.

func (*KeySigner) SignUserKey

func (s *KeySigner) SignUserKey(req *lib.SignRequest) (string, error)

SignUserKey returns a signed ssh certificate.

Jump to

Keyboard shortcuts

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