commands

package
v0.0.0-...-785270f Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: CC0-1.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delegate

func Delegate(params ...string)

Delegate a key. Params: [<duration=1 day>] <privatekeyfile> <delegationfile>

func Error

func Error(format string, i ...interface{})

Error displays an error to stderr and exits with code 1.

func Generate

func Generate(params ...string)

Generate a key. Params: <privatekeyfile>

func HelpDelegate

func HelpDelegate()

HelpDelegate provides help for Delegate.

func HelpGenerate

func HelpGenerate()

HelpGenerate provides help for Generate.

func HelpPublicKey

func HelpPublicKey()

HelpPublicKey provides help for PublicKey.

func HelpSign

func HelpSign()

HelpSign provides help for sign.

func Output

func Output(format string, i ...interface{})

Output displays a message on stdout and exits with code 0.

func PublicKey

func PublicKey(params ...string)

PublicKey displays a public key for a private key. Params: <keyfile>

func Sign

func Sign(params ...string)

Sign message with a delegated key. Params: <delegationfile> [message]

Types

This section is empty.

Jump to

Keyboard shortcuts

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