gpg

package
v1.21.1-0...-8239ed6 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package gpg has procedures for dealing with GNU Privacy Guard (gpg), in service of signing commits.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImportKeys

func ImportKeys(src string, trustImportedKeys bool) ([]string, error)

ImportKeys looks for all keys in a directory, and imports them into the current user's keyring. A path to a directory or a file may be provided. If the path is a directory, regular files in the directory will be imported, but not subdirectories (i.e., no recursion). It returns the basenames of the successfully imported keys.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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