rekey

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RekeyCmd = cobra.Command{
	Use:               "rekey",
	Short:             "Re-encrypt data with new set of recipients",
	GroupID:           "age",
	SilenceUsage:      true,
	Args:              cobra.MaximumNArgs(1),
	PersistentPreRunE: Validate,
	RunE:              Run,
	Example:           examples,
}

Functions

func Encrypt

func Encrypt(recipients []age.Recipient, in io.Reader, out io.Writer, withArmor bool) error

func EncryptKeys

func EncryptKeys(keys, files, identities []string, in io.Reader, out io.Writer, armor bool, stdinInUse, yaml bool) error

func EncryptPass

func EncryptPass(pass string, in io.Reader, out io.Writer, armor bool, yaml bool) error

func EncryptYAML

func EncryptYAML(recipients []age.Recipient, in io.Reader, out io.Writer) 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