GNU Privacy Guard for R

Bindings to GnuPG for working with OpenGPG (RFC4880) cryptographic methods. Includes utilities for public key encryption, creating and verifying digital signatures, and managing your local keyring. Note that some functionality depends on the version of GnuPG that is installed on the system. On Windows this package can be used together with 'GPG4Win' which provides a GUI for managing keys and entering passphrases.


News

1.1

  • Restore password entry, use askpass() package
  • Fix vignette: Glenn Greenwald's example key has expired
  • Fix #3 for realz

1.0

  • MacOS: update to gpgme 1.12.0 with gnupg 1.4.23
  • Windows: update to gpgme 1.11.1 with gnupg 1.4.23
  • Add as_text parameter to decrypt to support raw output
  • Do not ask for user confirmation in gpg_delete(), fixes #3
  • Remove the password entry callback (doesn't work in gpg anymore)

0.5

  • Extract autobrew script to separate repository

0.4

  • Always try to use native pinentry first before fallbacks
  • Add gpg_list_signatures() function
  • Refactor gpg_list_keys()

0.3

  • Add support for non-detached (clear/normal mode) signature
  • Rename some parameters for consistency
  • Support 'search' parameter in gpg_import (tnx Marius Pascariu)
  • Expose 'pinentry' function
  • Better out-of-the-box support for entering passphrases
  • Search for keys on multiple keyservers
  • Mention 'haveged' to solve freezing keygen problem

0.2

  • Initial CRAN release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gpg")

1.2.2 by Jeroen Ooms, 3 days ago


https://jeroen.cran.dev/gpg/ (docs) https://github.com/jeroen/gpg (dev)


Report a bug at https://github.com/jeroen/gpg/issues


Browse source code at https://github.com/cran/gpg


Authors: Jeroen Ooms [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports curl, askpass

Suggests knitr, rmarkdown

System requirements: GPGME: libgpgme-dev / libgpgme11-dev (deb), gpgme-devel (rpm) gpgme (brew). On Linux 'haveged' is recommended for generating entropy when using the GPG key generator.


See at CRAN