On 27-Apr-2001, Mico Siahaan wrote:
> Bung Ronny, saya mau jadi mau nanya soal penggunaan GnuPG. Di
> komputer saya sudah terinstall, cuman kok nggak bisa terintegrasi
> dengan mutt saya ya...Oh ya, saya installnya ketika instalasi Mandrake
> 7.2. Saya mencoba signed mail saya, namun ketika hendak dikirimkan
> muncul pesan error" Can't open PGP subprocess!: No such file or
> directory (errno = 2)". Kenapa ya?
Anda belum setting $pgp_*_command dg benar. Ini setting gpg di muttrc yg
saya pake, nyontek dr punyanya Roland Rosenfeld. Anda butuh gpg-2comp dari
http://muppet.faveve.uni-stuttgart.de/~gero/gpg-2comp/
Ronny
#set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch -o - %f"
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --batch --output - %f"
# verify a pgp/mime signature
set pgp_verify_command="gpg --batch --output - --verify %s %f"
# decrypt a pgp/mime attachment
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
# create a pgp/mime signed attachment
set pgp_sign_command="gpg-2comp --no-verbose --batch --output - --passphrase-fd 0
--armor --detach-sign --textmode %?a?-u %a? %f"
# create a application/pgp signed (old-style) message
set pgp_clearsign_command="gpg-2comp --no-verbose --batch --output - --passphrase-fd 0
--armor --textmode --clearsign %?a?-u %a? %f"
# create a pgp/mime encrypted attachment
set pgp_encrypt_only_command="pgpewrap gpg-2comp -v --batch --output - --encrypt
--textmode --armor --always-trust -- -r %r -- %f"
# create a pgp/mime encrypted and signed attachment
set pgp_encrypt_sign_command="pgpewrap gpg-2comp --passphrase-fd 0 -v --batch -o -
--encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
# import a key into the public key ring
set pgp_import_command="gpg --no-verbose --import -v %f"
# export a key from the public key ring
set pgp_export_command="gpg --no-verbose --export --armor %r"
# verify a key
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
# read in the public key ring
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
# read in the secret key ring
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons
--list-secret-keys %r"
# receive key from keyserver:
set pgp_getkeys_command=""
# string that the verify command outputs if the signature is good
set pgp_good_sign="" # not needed, if exit code ok.
PGP signature