Displaying 2 results from an estimated 2 matches for "gpg_sign".
2016 Oct 23
3
Support for signing R packages with GPG
...here are two ways to implement this. Assuming GnuPG is on the PATH,
the CMD build script could call:
gpg --clearsign MD5 -o MD5.gpg
Alternatively the 'gpg' R package provides a more portable method via
the gpgme C library. This method works on Windows / macOS as well.
writeLines(gpg::gpg_sign("MD5"), "MD5.gpg")
Attached is an example implementation of the latter (also available at
https://git.io/vPb9G) which has been tested with several versions of
GnuPG. It exposes an optional flag for CMD build, i.e:
R CMD build somepkg --sign
R CMD build somepkg --sign=jeroe...
2016 Oct 25
0
Support for signing R packages with GPG
...uming GnuPG is on the PATH,
> the CMD build script could call:
>
> ? gpg --clearsign MD5 -o MD5.gpg
>
> Alternatively the 'gpg' R package provides a more portable method via
> the gpgme C library. This method works on Windows / macOS as well.
>
> ? writeLines(gpg::gpg_sign("MD5"), "MD5.gpg")
>
> Attached is an example implementation of the latter (also available
> at
> https://git.io/vPb9G) which has been tested with several versions of
> GnuPG. It exposes an optional flag for CMD build, i.e:
>
> ? R CMD build somepkg --sign...