Tuesday, January 27, 2009

Install a package manager in MacOSX (Darwin Ports) and install GnuPG port

First, get the package manager:

$ wget http://www.portcode.com/darwinports/DarwinPorts-1.5.0-10.4.dmg
or
$ curl http://www.portcode.com/darwinports/DarwinPorts-1.5.0-10.4.dmg -O

Mount dmg image and install, then open a Terminal window:

$ sudo port -d selfupdate
$ cd /opt/local/var/macports/


$ port search gnupg
$ sudo port install gnupg
Password:
$ gpg --gen-key


conf file is: ~/.gnupg*, add keyservers, change your default fingerprint, and other stuff there.