gpg_info: Manage the GPG engine

View source: R/restart.R

gpg_restartR Documentation

Manage the GPG engine

Description

Use gpg_restart() to find the gpg program and home directory (which contains configuration and keychains). Usually the default should be fine and you do not need to run this function manually.

Usage

gpg_restart(home = NULL, path = NULL, debug = "none", silent = FALSE)

gpg_version(silent = FALSE)

gpg_info()

gpg_options()

Arguments

home

path to your GPG configuration directory (including keyrings)

path

location of gpg or gpg2 or gpgconf or (on windows) gpgme-w32spawn.exe

debug

debugging level, integer between 1 and 9

silent

suppress output of gpg --version

Details

Use gpg_info() to get your current engine settings. The gpg_version() function simply calls gpg --version to see some verbose output about the gpg executable.

gpg_options reads options in the GnuPG configuration file, which is stored by default in ~/.gnupg/gpg.conf. Note that changing options might affect other software using GnuPG.

Examples

gpg_version()
gpg_info()

gpg documentation built on May 31, 2023, 9:21 p.m.