From
|
jaromil <jaromil@kyuzz.org>
|
Date
|
Mon, 29 Jul 2002 14:45:47 +0200
|
Subject
|
Re: [HaCkmEeTiNg] ma che cazzo
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Jul 29, 2002 at 12:04:00PM +0000, asbesto wrote:
> ce vo' la giusta cfg di mutt che ora come ora non ho, e quando mi
> arriva non so perche' un messaggio gpg in chiaro sul testo lui se
> ne fotte e sono costretto a perdere 7 minuti per poterlo leggere :((((
io sono riuscito a decidermi per una configurazione di mutt decente
grazie alla quale (mandando le mail con ctrl-x) firmo tutto in cleartext
(ma senza avere la passphrase ricordata):
##########################################################################
## Using PGP (jrml)
set pgp_timeout = 11800 # 3600
set pgp_replyencrypt
unset pgp_replysign
set pgp_verify_sig = yes
# CLEARTEXT INLINE GPG
set pgp_create_traditional = no
### il trucco e' QUI!
macro compose \cx "Fgpg --clearsign\nyy"
macro pager \cv "|gpg --verify;sleep 1\n"
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch -o - %f"
set pgp_verify_command="gpg --no-verbose --batch -o - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch -o - %f"
set pgp_sign_command="gpg -q --batch -o - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch -o - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg -v --batch -o - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 -v --batch -o - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
set pgp_getkeys_command="gpg --recv-key %r"
###################################
poi, importante, se questa linea e' gia' presente nel vostro muttrc:
bind compose \cx send-message
RIMUOVERLA o COMMENTARLA!
inoltre, per avere le signature prodotte da tale configurazione
automaticamente riconosciute (e quindi anche la mia come in questa
stessa mail), basta usare la regola di procmail postata dal buon godog:
:0
* !^Content-Type: message/
* !^Content-Type: multipart/
* !^Content-Type: application/pgp
{
:0 fBw
* ^-----BEGIN PGP MESSAGE-----
* ^-----END PGP MESSAGE-----
| formail -i \
"Content-Type: application/pgp; format=text; x-action=encrypt"
:0 fBw
* ^-----BEGIN PGP SIGNED MESSAGE-----
* ^-----BEGIN PGP SIGNATURE-----
* ^-----END PGP SIGNATURE-----
| formail -i \
"Content-Type: application/pgp; format=text; x-action=sign"
}
- --
jaromil ][ http://dyne.org ][ GnuPG _key__id_
EDEE F1B9 DC92 76C0 6D46 D77A 58B0 82D6 (5B6E 6D97)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9RTj7WLCC1ltubZcRAnajAKC5JAaRHBcqwVGbuK0WvnTy5/U0VACguQlH
NIrrQ04njRgbjF1HWbPaB/0=
=5ZC6
-----END PGP SIGNATURE-----
---
To unsubscribe from this list: send the line "unsubscribe hackmeeting" in
the body of a message to majordomo@kyuzz.org