Setting up GPG for use in Cygwin and Basic Usage
This page shows you how to install GPG so you can encypt files from the
Cygwin BASH shell and then send the file as an email attachment.
Installing GPG
Get the GNU Privacy Gaurd (GPG) install file from
https://gnupg.org/. Follow the link(s) to
download the latest "Tarball" (when I did it, the file was,
"gnupg-2.2.20.tar.bz2").
Save the file anywhere you want. For example, the path I used is,
"C:\tmp\pkg". To get to this folder from the Cygwin BASH shell prompt, type
this:
cd /cygdrive/tmp/pkg
Then use tar to extract the tarball. If the file extension is, ".tar.gz" or
".tgz" use the
z
option. In my case, the extension is
".tar.bz2", so I have to use the j
option. You can look this
up in the tar man (short for manual) page with:
man tar
I extracted the file with:
tar jxvf gnupg-2.2.20.tar.bz2
TBD - Look at https://gpg4win.org/download.html and see what is best
to do. Compile GPG or use gpg4win
https://gpg4win.org/thanks-for-download.html
BACK