gpg

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

THIS IS BORROWED FROM FLUX! https://raw.githubusercontent.com/fluxcd/flux/6e6f3a8bfc0a6137d935ff4968e15a3ba59ebdb0/pkg/gpg/gpg.go 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 succesfully imported keys.

Types

This section is empty.

Jump to

Keyboard shortcuts

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