gopass: github.com/justwatchcom/gopass/pkg/action/binary Index | Files

package binary

import "github.com/justwatchcom/gopass/pkg/action/binary"

Index

Package Files

binary.go cat.go copy.go sum.go

Constants

const (
    // Suffix is the suffix that is appended to binaries in the store
    Suffix = ".b64"
)

func Cat Uses

func Cat(ctx context.Context, c *cli.Context, store storer) error

Cat prints to or reads from STDIN/STDOUT

func Copy Uses

func Copy(ctx context.Context, c *cli.Context, store storer) error

Copy copies either from the filesystem to the store or from the store to the filesystem

func Move Uses

func Move(ctx context.Context, c *cli.Context, store storer) error

Move works like Copy but will remove (shred/wipe) the source after a successful copy. Mostly useful for securely moving secrets into the store if they are no longer needed / wanted on disk afterwards

func Sum Uses

func Sum(ctx context.Context, c *cli.Context, store storer) error

Sum decodes binary content and computes the SHA256 checksum

Package binary imports 17 packages (graph). Updated 2019-01-14. Refresh now. Tools for package owners.