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.
gpg_keygen(name, email, passphrase = NULL)
value for the Name-Real
field
value for the Name-Email
field
(optional) protect with a passphrase
GPG manual section on Unattended key generation.
Other gpg:
gpg_encrypt()
,
gpg_keys
,
gpg_sign()