utils

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

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PRIVATE_GPG_PATH       = "PRIVATE_GPG_PATH"
	PRIVATE_GPG_PASSPHRASE = "PRIVATE_GPG_PASSPHRASE"
)

Variables

This section is empty.

Functions

func PushLatest

func PushLatest()

Types

type DecryptedObject

type DecryptedObject struct {
	Key     string
	Archive string
	// contains filtered or unexported fields
}

type EncryptedObject

type EncryptedObject interface {
	Key() string
	Reader() io.ReadCloser
}

type GpgHelper

type GpgHelper struct {
	Entity openpgp.EntityList
}

func NewGpgHelper

func NewGpgHelper() (GpgHelper, error)

NewGpgHelper initializes a GpgHelper object and configures the private key

func (*GpgHelper) DecryptBundles

func (g *GpgHelper) DecryptBundles(objects []EncryptedObject) ([]DecryptedObject, error)

accepts list of encrypted interface objects and concurrently descrypts the objects

Jump to

Keyboard shortcuts

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