Automating gpg

David Shaw dshaw@jabberwocky.com
Tue Oct 16 00:31:01 2001


--IrhDeMKUP4DT/M7F
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Oct 15, 2001 at 05:54:17PM -0400, Dailey,Nancy wrote:

> I followed the directions for automating gpg in the FAQ portion of the gn=
upg
> site. Then, I tried to encrypt and sign a document and this is what I go=
t:
>=20
> C:\gnupg>gpg --output ggvsppre.gpg -es \windows\temp\ggvsppre.lis
> gpg: secret key parts are not available
> gpg: no default secret key: general error
> gpg: \windows\temp\ggvsppre.lis: sign+encrypt failed: general error
>=20
> Any suggestions?
When you follow the automating gpg instructions in the FAQ, you end up with a special key that does not contain the master key (generally a sign-only key). You tried to sign and encrypt, and since there is no signing key there, it's not going to work. You can add a signing key via --edit-key on your *original* key (not the key you generated by following the FAQ), and using "addkey". Then, re-follow the instructions in the FAQ to export the new subkey. David --=20 David Shaw | dshaw@jabberwocky.com | WWW http://www.jabberwocky.com/ +--------------------------------------------------------------------------= -+ "There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence." - Jeremy S. Anderson --IrhDeMKUP4DT/M7F Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iQEVAwUBO8tjKoccwqs8s7QVAQFz9AgAxauRV1l2QDx4LP5FS8SmH3Q9Pb62maDP u5jCjWx2OhBw3rIeTyTXUaxuvzfSKFye7fhSdMthOx1GPWlwz0//BPKu2dgcEcfz lyoakD2Ii4eUDf1OmZXEpG3ADfsXmoDJocSvU4L6xNFAha/akYdOmkyIHAL9b/hB VF2J8aXjhPBIEdoBkc8GMVEff4mtpnK+KynLzcVDDVw2PZ0/6F1+9rVAud86p5iS mRONxgKwMIXVRLQw0Bo55TU9iduvm1ImIfr9eR/E+PzVdKIsoOPAAJlt6YEmSUF4 OkbBtZJe2WX/dSTGlVJn7ZM4OsVDCpJkqhqtDgyGOnkYVEtlU9uYFg== =QEF0 -----END PGP SIGNATURE----- --IrhDeMKUP4DT/M7F--