On Monday 15 August 2005 09:54 pm, email builder wrote: > > Just imported a secret key to the GPG plugin, which worked great, > > however, > > I cannot sign messages with it. Did I miss something? Error message is: > > > > Your Request to Encrypt on Send encountered a problem, details below: > > > > Errors: > > no default secret key: general error > > GPG Plugin: gpg returned a non-clean return value of: 2 > > GPG Plugin: gpg returned a non-clean return value of: 2 > > > > > > Cyphertext not generated due to errors. Your plaintext has been > > preserved. > > Sorry, just for clarity, these are the exact steps I took: > > - wiped out my squirrelmail gpg prefs directory in the data directory so I > can start from scratch (I had previously generated and used GPG keys > entirely through the GPG plugin and it worked great) > - generated my own keypair from my linux command line: > - ran this command to get my private key: > gpg --export-secret-subkeys -a > - used the GPG plugin to "import from text" and pasted the PGP PRIVATE KEY > BLOCK in and saved
You need to import a key *pair*, so both the public and the private key. Try importing your public key as well, and it should work. Ylou can encrypt mail to yourself and make sure you can decrypt it as well. This provides a good test. > - so far, so good, the plugin recognized my private key so I think it's > good - sent my public key to a friend > - my friend sent me an encrypted message and I was able to decrypt it just > fine! YAY! > - tried to send a GPG-signed message and it barfed. the error is above. > - what did I do wrong? I don't see anything else I can do in the GPG > plugin configuration to fix this??? > - FWIW, I am using the same keypair with thunderbird and it works just > fine, although I imported it by actually copying my pubring.gpg and > secring.gpg files to my Windows machine instead of exporting my secret key Regards, - Brian ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
