gpg

package
v0.0.0-...-fb7f86c Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Import

func Import(cfg config.Config) error

Import imports the GPG package signing key. ~/.rpmmacros also gets written.

func LoadGPGKeys

func LoadGPGKeys(cfg *config.Config) error

LoadGPGKeys loads GPG key pair and password from the environment and writes them to corresponding files.

The passed config's GPG fields also get updated. Make sure to call RemoveGPGFiles at application exit.

func RemoveGPGFiles

func RemoveGPGFiles(cfg config.Config)

RemoveGPGFiles removes configured GPG files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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