Sam Varshavchik wrote:
> Ok, so I must be running a newer STABLE-BRANCH build, which has this option.
> Does your build take private keys just with --import and --no-tty?
Yes.
The button "import public keys" allow to import both public and
private keys with my gpg version.
Also, It sound like the key has to the message (with type
application/pgp-keys) and not an attachemnent. If I send a message as
below, sqwebmail tell ask me if I will display or download the
attachment but not propose me to import the key.
----------------------------------------
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="FCuugMFkClbJLl1L"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
test
--FCuugMFkClbJLl1L
Content-Type: application/pgp-keys
Content-Disposition: attachment; filename=foo
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: Pour information voir http://www.gnupg.org
lQG7BDq4yq4RBADHoZy71bHuUEODSjyUC6bgm2p8M6GOS1PL375iyvsgjPrUK0gO
(...)
-----END PGP PRIVATE KEY BLOCK-----
--FCuugMFkClbJLl1L--
----------------------------------------