Description Usage Arguments Value Author(s) See Also
This function will attempt to unlock a specific GPG key by first encrypting a
small amount of information using the (public) key and then immediately
decrypting it using the (private) key, thereby causing the keyring to
temporarily store the key passphrase. This can be helpful if one is trying
to knit a document with encrypted data chunks, but the key for those
data chunks is locked with a passphrase. See the package vignette section
Workarounds for GPG data chunk error: Password callback did not return a string value
for more details.
1 2 3 4 5 6 7 |
id |
Identifier of the GPG key |
name |
Name associated with the desired GPG key |
email |
Email associated with the desired GPG key |
Will return the identifier of the GPG key that was unlocked.
David M. Kaplan dmkaplan2000@gmail.com
See also data_encode
, gpg_encrypt
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.