decrypt

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DecryptCmd = cobra.Command{
	Use:               "decrypt",
	Aliases:           []string{"d", "dec", "decode"},
	Short:             "Decrypt AGE encrypted data",
	GroupID:           "age",
	SilenceUsage:      true,
	Args:              cobra.MaximumNArgs(1),
	PersistentPreRunE: Validate,
	RunE:              Run,
	Example:           examples,
}

Functions

func Decrypt

func Decrypt(keys []string, in io.Reader, out io.Writer, stdinInUse bool) error

func DecryptYAML

func DecryptYAML(keys []string, in io.Reader, out io.Writer, stdinInUse, noTag bool, discardNoTag bool) error

func Run

func Run(_ *cobra.Command, args []string) error

func Validate

func Validate(_ *cobra.Command, _ []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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