Sorry :)
As I see, I was quite stupid, unfortunately. My email should be encrypted not with my public key, of course, but with public keys received from addressees. That's why I was suggested to select keys (question No. 1) , and that's why I gpg has told me that the key was already present (there should be two different public keys) (question No. 2). Am I right? If so -- then, please, forgive me for disturbing you :). Sincerely yours, -- dsjkvf On Sun, Jul 4, 2010 at 13:15, dsjkvf <dsj...@gmail.com> wrote: > Dear colleagues, > > > I would be grateful if someone could confirm if I've done everything right: > > a). I'm using Mutt 1.5.18 on Mac OS X 10.5.8 with gpg (GnuPG) 1.4.9 > b). Here is a fragment from my .muttrc: > --- > set pgp_decode_command="/opt/local/bin/gpg %?p?--passphrase-fd 0? > --no-verbose --quiet --batch --output - %f" > set pgp_verify_command="/opt/local/bin/gpg --no-verbose --quiet > --batch --output - --verify %s %f" > set pgp_decrypt_command="/opt/local/bin/gpg --passphrase-fd 0 > --no-verbose --quiet --batch --output - %f" > set pgp_sign_command="/opt/local/bin/gpg --no-verbose --batch > --quiet --output - --passphrase-fd 0 --armor --detach-sign > --textmode %?a?-u %a? %f" > set pgp_clearsign_command="/opt/local/bin/gpg --no-verbose --batch > --quiet --output - --passphrase-fd 0 --armor --textmode --clearsign > %?a?-u %a? %f" > set pgp_encrypt_only_command="pgpewrap /opt/local/bin/gpg --batch > --quiet --no-verbose --output - --encrypt --textmode --armor > --always-trust -- -r %r -- %f" > set pgp_encrypt_sign_command="pgpewrap /opt/local/bin/gpg > --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output > - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" > set pgp_import_command="/opt/local/bin/gpg --no-verbose --import -v %f" > set pgp_export_command="/opt/local/bin/gpg --no-verbose --export --armor %r" > set pgp_verify_key_command="/opt/local/bin/gpg --verbose --batch > --fingerprint --check-sigs %r" > set pgp_list_pubring_command="/opt/local/bin/gpg --no-verbose > --batch --quiet --with-colons --list-keys %r" > set pgp_list_secring_command="/opt/local/bin/gpg --no-verbose > --batch --quiet --with-colons --list-secret-keys %r" > set pgp_autosign = yes > set pgp_autoencrypt = yes > set pgp_sign_as=0xEC0E4D22 # This is my the only one public key, > which is paired with my the only one private key > set pgp_show_unusable = no > <...> > my_hdr Cc: <my-ot...@adress> # I email a copy of every letter to my > other address > --- > c). Now, I compose an email To: s...@address (and Cc: my-ot...@address > is automatically added). I see in the letter's window that 'PGP' is > set to 'Sign, Encrypt (PGP/MIME)' and 'sign as' is set to '0xEC0E4D22' > -- so, everything looks nice, exactly according to the .muttrc. > d). Then I press 'y', and Mutt asks me to 'Enter keyID for > s...@address: '. And here goes question No. 1: Why? I have the only > one key, which is listed in .muttrc, so, shouldn't Mutt just take it > automatically? > e). However, I press Enter, Mutt shows me my pubic key, I do select it > by pressing Enter again (and, actually, I have no other choice), and > then the history repeats, and Mutt asks me for the key for > 'my-ot...@address' (which is listed in Cc:). > 6. So, I do press Enter-Enter once again, Mutt asks me for PGP > passphrase, I enter it, and then gpg says 'gpg: 0xEC0E4D22: skipped: > public key already present', and that is my question No. 2: what does > this phrase mean, why does it appear, and how can I avoid it? > 7. After it my email flies encrypted to both addresses, so, there > seems to be no error, but just to many additional keypresses :). And I > would be very grateful if you could help me avoid [some of] them :). > > > Sincerely yours, > > > -- > dsjkvf >