Learn R Programming

gpg (version 1.3.0)

gpg_keygen: GPG key generation

Description

Generates a new standard private-public keypair. This function is mostly for testing purposes. Use the gpg --gen-key command line utility to generate an official GPG key with custom fields and options.

Usage

gpg_keygen(name, email, passphrase = NULL)

Arguments

name

value for the Name-Real field

email

value for the Name-Email field

passphrase

(optional) protect with a passphrase

References

GPG manual section on Unattended key generation.

See Also

Other gpg: gpg_encrypt(), gpg_keys, gpg_sign()