* Lars Hecking ([EMAIL PROTECTED]) [000327 08:22]:
> Terje Elde writes:
> > Hi all,
> >
> > I've got a rather nice PGP setup with mutt, using the gpg-2comp prog as shown
> > in the examples (1.1.9i IIRC), however when I'm trying to encrypt to RSA keys,
> > I get the following:
>
> 1.1.9i doesn't use gpg-2comp anymore.
Ahh, that explaing a lot :)
> > gpg: writing to `-'
> > gpg: DSA signature from: BC26460D Terje Elde (work) <[EMAIL PROTECTED]>
> > gpg: NOTE: --no-literal is not for normal use!
> > gpg: NOTE: --no-literal is not for normal use!
> > usage: gpg [options] --encrypt [filename]
> > Press any key to continue...
>
> Gnupg is using your DSA key here. What exactly are you trying to do?
This was an attempt at sending a signed email encrypted to a RSA key.
Everything works when encrypting to DSA keys tho.
> Do you have your RSA key in they key db?
Yes.
> > Thus I'm only able to use DSA/ElGamal keys, which is really a PITA. Am I the
> > only one having these problems?
>
> Apparently :-)
Just my luck ;)
> Can you post or email your .gnupg/options file?
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-2comp --no-verbose --batch -o - --passphrase-fd 0 --armor
--detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg-2comp --no-verbose --batch -o - --passphrase-fd 0
--armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg-2comp -v --batch -o - --encrypt --textmode
--armor --always-trust -- -r %r -- %f"
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"
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="wrap.sh -g %r"
set pgp_getkeys_command=""
These should be direct copies from the example. Or at least the way the
example was at one time :)
Terje
--
Xlehveh rhkau fudwuh få mydtemi dåh tk aqd rhkau jyt få kdyn (jyt ==
fudwuh?)