Lately I’ve been building a bunch of “Linux” command line tools for my Mac. As I focus on security, I decided GPG would be the next tool. You can download my GPG public key at KenjiYoshino.pub.
Download
- gpg-1.4.13.tar.gz
- SHA-1 of gpg-1.4.13.tar.gz: 45901f228377c65b445104d7037ad26dde70fe7a
- Signature: gpg-1.4.13tar.gz.sig
- SHA-1 of the gpg executable: 361b9beec3667abdc01d30b0b5ac0b215b3d4d48
- SHA-1 of the gpgv executable: 006c7ac41d63f1a1a7aa695428f42acd9f7a54e3
- Open the Terminal and navigate to the downloaded archive
- Extract the files by running tar xzf gpg-1.4.13.tar.gz
- Login with an account with Administrator privileges
- Copy /bin/gpg and /bin/gpgv to /usr/local/bin
- Copy /man/gpg.1 and /man/gpgv.1 to /usr/local/share/man/man1
- Make sure all users have execute/read access to these files
Compile
Note: You must have Xcode installed.
- Download the GPG 1.4.13 source from http://www.gnupg.org/download/
- Open a terminal window and browse to the downloaded archive
- Extract the archive using tar xzf gnupg-1.4.13.tar.gz
- Open the gnupg-1.4.13 directory
- Run ./configure
- Run make
- You will have the gpg and gpgv binaries in the /g10 directory and the man page in the /doc directory
- Copy /g10/gpg and /g10/gpgv to /usr/local/bin
- Copy /doc/gpg.1 and /doc/gpgv.1 to /usr/local/share/man/man1
- Make sure all users have execute/read access to these files