gpgconf

package
v1.14.7 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Binary

func Binary(ctx context.Context, bin string) (string, error)

Binary returns the GPG binary location.

func Config

func Config() (map[string]string, error)

Config returns the GPG config file.

func GPGOpts

func GPGOpts() []string

GPGOpts parses extra GPG options from the environment.

func Path

func Path(key string) (string, error)

Path returns the path to a GPG component.

func TTY

func TTY() string

TTY returns the tty of the current process. see https://www.gnupg.org/documentation/manuals/gnupg/Invoking-GPG_002dAGENT.html

func Umask

func Umask(mask int) int

Umask sets the desired umask.

func Version

func Version(ctx context.Context, binary string) semver.Version

Version return the version of the gpg binary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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