Mac – GnuPG Installation

Recently need to work with Amazon S3 and i want to use the s3cmd command line client.
s3cmd : command line S3 client

But it requires encryption program which i can’t find in my Mac machine. Luckily i found a very detail installation guide.
HOWTO: Build GnuPG on OS X

Here is the brief summary of the installation.
1. Download the source code

  • curl -O ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.11.tar.gz

 

2. Extract the archive

  • tar zxf gnupg-1.4.11.tar.gz

 

3. Go to the extracted directory and run the following commands

  • ./configure
  • make
  • make check
  • sudo make install

 

4. The installation is done but i get the following error when i use the gpg command

  • gpg: /Users/kit/.gnupg/gpg.conf:233: invalid auto-key-locate list

 

5. It is resolved after i commented the following line in ~/.gnupg/gpg.conf

  • auto-key-locate cert pka ldap hkp://keys.gnupg.net

 

Done =)

Reference:

About these ads

3 thoughts on “Mac – GnuPG Installation

  1. Pingback: Amazon S3 – The s3cmd command line tool | Eureka!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s