Re: [Evolution] How to use GPG support?



Christopher James Lahey wrote:

On Sat, 23 Sep 2000, Nathan Thompson-Amato wrote:

I do intend to work on encryption and signature support at some point,
but school just started back up so I can't commit any huge blocks of
time.  Although if somebody tells me how to ask the addressbook for a
record based on an email address, maybe I can get something interesting
done this weekend.  Hint, hint. :-)

In the mean time, you need to create a copy of the default book, do
e_book_get_book_view with the query set to something like
"(is \"email\" \"...\")".  You'll get a callback giving you the book
view.  You attach to the book view's create_card and sequence_complete
signals and wait for responses.  When you get the sequence_complete
signal, that means you have received all the responses you're going to.
You can then unref all the objects created and use the cards you were
given.

Thanks, I'll try this just as soon as I can get Evolution reading my
contact list again -- I just did a CVS update after a couple weeks
without one and things are a bit unsteady now.

Also, when you get the card, do you plan to pull pgp type keys from
them?  I can't remember if anyone's added a field for that.

What I'd like to do, actually, is just have the cards store key
fingerprints (or some other unique key ID) and let GnuPG/PGP continue to
store the actual keys.  This way, the user can manually specify which
public key is associated with a contact.  This is useful if a contact
has multiple public keys or if a contact's email address has changed but
his or her public key hasn't.  It also keeps GnuPG/PGP and Evolution
from having to maintain seperate key databases and keep them in synch.

If anybody else has a better idea or hates this one, though, please say
so.  Also, does anyone know how Outlook and other major graphical MUAs
deal with public keys in their contact lists?

Thanks again for your help,

Nathan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]