escryptlib

package
v0.0.0-...-3efd425 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescryptFile

func DescryptFile(srcFile string, dstFile string, passphrase string, privateKeyFile, publicKeyFile string) error

DescryptFile decrypts a gpg file and validates the signature. The uncompressed (gzip) file is then written to the destination.

func EscryptFile

func EscryptFile(srcFile string, dstFile string, passphrase string, privateKeyFile, publicKeyFile string) error

EscryptFile performs gzip compression and gpg encryption and signing to the given file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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