Signing or encrypting with GPG require that the keys are stored in your personal keyring. Use gpg_version to see which keyring (home dir) you are using. Also see gpg_keygen for generating a new key.
gpg_import(file) gpg_recv(id, search = NULL, keyserver = NULL) gpg_delete(id, secret = FALSE) gpg_export(id, secret = FALSE) gpg_list_keys(search = "", secret = FALSE) gpg_list_signatures(id)
file | path to the key file or raw vector with key data |
---|---|
id | unique ID of the pubkey to import (starts with |
search | string with name or email address to match the key info. |
keyserver | address of http keyserver. Default searches several common servers (MIT, Ubuntu, GnuPG) |
secret | set to |
Other gpg: gpg_encrypt
,
gpg_keygen
, gpg_sign