Learn R Programming

gpg (version 1.3.0)

gpg_restart: 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

Run this code
gpg_version()
gpg_info()

Run the code above in your browser using DataLab