Jun 30, 2008
GnuPG on Mac OS X メモ
Mac OS X に GnuGP を入れてみた。 MacPorts を使ってインストール出来るので至極簡単。
GnuPG のインストール
$ sudo port search gnupg qca-gnupg devel/qca-gnupg 2.0.0-beta2 Qt Cryptographic Architecture - openssl plugin gnupg mail/gnupg 1.4.7 GNU pretty-good-privacy package gnupg12 mail/gnupg12 1.2.7 GNU Privacy Guard gnupg2 mail/gnupg2 2.0.8 GNU pretty-good-privacy package p5-gnupg-interface perl/p5-gnupg-interface 0.33 Perl interface to GnuPG py-gnupg python/py-gnupg 0.3.2 GnuPGInterface is a Python module to interface with GnuPG py25-gnupg python/py25-gnupg 0.3.2 GnuPGInterface is a Python module to interface with GnuPG $ $ sudo port install gnupg ---> Fetching ncursesw ---> Attempting to fetch ncurses-5.6.tar.gz from http://ftp.gnu.org/gnu/ncurses ---> Verifying checksum(s) for ncursesw ---> Extracting ncursesw ---> Applying patches to ncursesw ---> Configuring ncursesw (SNIP) ---> Staging gnupg into destroot ---> Installing gnupg 1.4.7_0 ---> Activating gnupg 1.4.7_0 ---> Cleaning gnupg $
GnuPG の動作確認
$ gpg --version gpg (GnuPG) 1.4.7 Copyright (C) 2006 Free Software Foundation, Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details. $
GnuPG を使って復号化
$ gpg -d ./dummy.gpg > ./dummy gpg: CAST5 encrypted data gpg: encrypted with 1 passphrase gpg: WARNING: message was not integrity protected $
TrackBack ping me at
http://www.in-vitro.jp/blog/index.cgi/Apple/20080630_01.trackback
writeback message: Ready to post a comment.
