Hi Folks,

Okay i read here:

ftp://metalab.unc.edu/pub/Linux/docs/HOWTO/Mutt-GnuPG-PGP-HOWTO

that it's possible to use gpg and pgp5 at the same time.
Also in there is how to use them both.
But man, you got to set some vars in there.

Okay i have this in there in the .muttrc

set pgp_default_version=gpg     # default version to use

set pgp_key_version=default     # default key to use
                                # in this case, gnupg defines it

set pgp_receive_version=default # default version to decrypt will be the default
set pgp_send_version=default    # version defined in the first line (gpg)

set pgp_gpg=/usr/pkg/bin/gpg        # where to find the GnuPG binary
set pgp_gpg_pubring=~/.gnupg/pubring.gpg        # public key file to GnuPG
set pgp_gpg_secring=~/.gnupg/secring.gpg        # secret key file to GnuPG


set pgp_v5=/usr/pkg/bin/pgp5    # where to find the PGP5 binary
set pgp_v5_pubring=~/.pgp/pubring.pkr           # public key file to PGP5
set pgp_v5_secring=~/.pgp/secring.skr           # secret key file to PGP5

But then i see this when starting mutt

Error in /home/mipam/.muttrc, line 1464: pgp_default_version: unknown variable
Error in /home/mipam/.muttrc, line 1466: pgp_key_version: unknown variable
Error in /home/mipam/.muttrc, line 1469: pgp_receive_version: unknown variable
Error in /home/mipam/.muttrc, line 1470: pgp_send_version: unknown variable
Error in /home/mipam/.muttrc, line 1472: pgp_gpg: unknown variable
Error in /home/mipam/.muttrc, line 1473: pgp_gpg_pubring: unknown variable
Error in /home/mipam/.muttrc, line 1474: pgp_gpg_secring: unknown variable
Error in /home/mipam/.muttrc, line 1477: pgp_v5: unknown variable
Error in /home/mipam/.muttrc, line 1478: pgp_v5_pubring: unknown variable
Error in /home/mipam/.muttrc, line 1479: pgp_v5_secring: unknown variable

What is wrong in those lines now?
As far as i understand from these lines that the default is set to gpg.
pgp_send_version is also chosen according to default, same
with receive version. So for example, when you wish to decrypt
a message which i send by a gpg users i can leave it, and it's decrypted.
But for reading and composing to pgp users i should change the default to
pgp right?

To switch defaults i used these macros:

# <ESC>1 to use GnuPG
macro   generic \e1     ":set pgp_default_version=gpg ?pgp_default_version\n"\
"Switch to GNU-PG"

# <ESC>5 to use PGP5
macro   generic \e5     ":set pgp_default_version=pgp5 ?pgp_default_version\n"\
"Switch to PGP 5.*"

Oh yes, nice to know, i use mutt 1.2i
How some can help me here?
Bye,

Mipam

Reply via email to