After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 508744 - Select PGP key from a list in mail account properties
Select PGP key from a list in mail account properties
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
3.10.x (obsolete)
Other All
: Normal enhancement
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
: 510750 553058 (view as bug list)
Depends on:
Blocks: 205718 269915 356461 517576 615034
 
 
Reported: 2008-01-11 12:11 UTC by Martin Picek
Modified: 2014-03-24 18:32 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
seahorse key plugin (22.84 KB, application/x-gzip)
2010-12-15 03:19 UTC, freebsd13
  Details
Same code but as git patch for easier review and starting (63.13 KB, patch)
2010-12-16 12:27 UTC, Johannes Schmid
needs-work Details | Review
evo patch (5.34 KB, patch)
2014-03-21 11:50 UTC, Milan Crha
committed Details | Review

Description Martin Picek 2008-01-11 12:11:49 UTC
Evolution could cooperate with Seahorse in the Security tab.

The Security tab (Edit / Preferences / Accounts / <account> / Security) requires to fill in the field Key ID manually. But I think it could be connected with Seahorse: there would be a list of PGP keys (and subkeys) provided by Seahorse to choose.

It's very annoying to fill in it manually. (But let there a possibility of filling in it manually.)
Comment 1 André Klapper 2008-01-11 12:56:34 UTC
yepp, possible 2.24 desktop integration target.
Comment 2 Martin Picek 2008-01-11 13:00:33 UTC
Great.
Comment 3 Pavel Šefránek 2008-02-03 22:44:10 UTC
*** Bug 510750 has been marked as a duplicate of this bug. ***
Comment 4 Matthew Barnes 2008-03-11 00:37:18 UTC
Bumping version to a stable release.
Comment 5 André Klapper 2008-09-21 22:04:47 UTC
*** Bug 553058 has been marked as a duplicate of this bug. ***
Comment 6 André Klapper 2008-09-21 22:14:09 UTC
See http://zscssoc2008blog.blogspot.com/ for the status of this.

CC'ing ZSC here to ask for the status of this project - can this get in already for the unstable GNOME 2.25 series? Is there already a first patch available?
Comment 7 freebsd13 2008-09-22 01:19:16 UTC
yeah, i am doing an EPlugin for this. when you use PGP/GPG with Evolution, which can display your PGP/GPG keys can sign in your key-chain. Once you choose your private key, which can be stored in the EAccount and be used when encrypting/signing.

However, there are some requirements that the current version of Evolution does not meet. Such as Seahorse's libcryptui, gmime(to parse the Multipart msg to get the PGP/GPG keyid so that can import the keys automatically).

Comment 8 André Klapper 2009-03-16 15:10:42 UTC
freebsd13: Any news here? Is the code available somewhere?
Comment 9 freebsd13 2009-03-17 01:17:34 UTC
yeah. you can try it now:

1.svn co svn://124.16.138.42/seahorse-key seahorse-key
2.mv seahorse-key /path/to/trunk/evolution/plugins/seahorse-key
3.patch the configure.in (using configure.in.diff in seahorse-key) and ./autogen.sh --prefix=/usr && make && make install
4.enjoy it!


Requirements:
a.Seahorse installed.(http://live.gnome.org/Seahorse)
b.Evolution trunk from svn repos( http://svn.gnome.org/svn/evolution/trunk)
c.GNU Autotools
Comment 10 Johannes Schmid 2010-10-01 19:01:18 UTC
freebsd13: The svn server isn't reachable here. I would really like to avoid this getting completely bitrotten. Is the source available somewhere?

Thanks!
Comment 11 freebsd13 2010-10-19 02:22:05 UTC
I am sorry for my late reply. 
This repos was hosting in my laboratory before i graduated. i will try to recovery this repos ASAP. Thanks.
 
(In reply to comment #10)
> freebsd13: The svn server isn't reachable here. I would really like to avoid
> this getting completely bitrotten. Is the source available somewhere?
> 
> Thanks!
Comment 12 André Klapper 2010-12-12 16:57:28 UTC
Hi,

(In reply to comment #11)
> This repos was hosting in my laboratory before i graduated. i will try to
> recovery this repos ASAP. Thanks.

any news, or any other way you can provide / attach your code?
Comment 13 freebsd13 2010-12-15 03:19:01 UTC
Created attachment 176441 [details]
seahorse key plugin

here is all the code and images
Comment 14 Johannes Schmid 2010-12-16 12:27:40 UTC
Created attachment 176524 [details] [review]
Same code but as git patch for easier review and starting

Thanks a lot for attaching your code. It is good to know that the internet seldom loses stuff :)

I put the code in the git tree and made a patch out of it so others can start easier from it. There is quite some review necessary:

* Port from libglade to GtkBuilder (trivial)
* Improve code structure, avoid global variables
* Add i18n to all strings
* General coding style adaption
Comment 15 Milan Crha 2014-03-21 11:50:51 UTC
Created attachment 272554 [details] [review]
evo patch

for evolution;

Simplified version of the above plugin, it follows comment #0, user can select from a list of available GPG keys, if the evolution is compiled with libcryptui. It's that simplified, that the only added dependency is the libcryptui.
Comment 16 Milan Crha 2014-03-24 15:04:45 UTC
Created commit fbf3bd0 in evo master (3.13.1+) [1]

[1] https://git.gnome.org/browse/evolution/commit/?id=fbf3bd0
Comment 17 Milan Crha 2014-03-24 18:32:00 UTC
A follow-up commit, I missed to copy a code which frees memory:
https://git.gnome.org/browse/evolution/commit/?id=a9b96e5