backupzip

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2019 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OutputZipBackupFile

func OutputZipBackupFile(
	fluidkeysDir string,
	pgpKey *pgpkey.PgpKey,
	password string,
) (filename string, err error)

Writes a ZIP file containing text files with ASCII-armored backups of the given public and private key. The private key is encrypted with the password passed to this function

Returns: the full filename of the ZIP file that was written

func WriteZipData

func WriteZipData(w io.Writer, uniqueSlug string, armoredPublicKey string, armoredPrivateKey string, armoredRevocationCert string) (err error)

Write ZIP data to the given `w` io.Writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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