gpg_sign | R Documentation |
Utilities to create and verify PGP signatures.
gpg_verify(signature, data = NULL, error = TRUE)
gpg_sign(data, signer = NULL, mode = c("detach", "normal", "clear"))
signature |
path or raw vector for the gpg signature (contains the |
data |
path or raw vector with data to sign or verify. In |
error |
raise an error if verification fails because you do not have the signer public key in your keyring. |
signer |
(optional) vector with key ID's to use for signing. If |
mode |
use |
Other gpg:
gpg_encrypt()
,
gpg_keygen()
,
gpg_keys
## Not run:
# This requires you have the Debian master key in your keyring
msg <- tempfile()
sig <- tempfile()
download.file("http://http.us.debian.org/debian/dists/stable/Release", msg)
download.file("http://http.us.debian.org/debian/dists/stable/Release.gpg", sig)
gpg_verify(sig, msg, error = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.