Summary: | Key import isn't implemented in Windows. | ||
---|---|---|---|
Product: | Claws Mail (Windows) | Reporter: | Gerard Seibert <gerard.seibert> |
Component: | default | Assignee: | users |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 3.13.2 | ||
Hardware: | PC | ||
OS: | Windows 10 |
Description
Gerard Seibert
2016-03-08 12:21:10 UTC
Yes, there are plans, but nothing immediate - unless someone steps up and writes the code. It should be fairly straightforward, we need to execute gpg.exe with --recv-keys argument, in a separate thread, or process. But this requires one to be familiar with Windows API for spawning new threads/processes (CreateProcess(), CreateThread() and their friends.) (In reply to comment #1) > It should be fairly straightforward, we need to execute gpg.exe with > --recv-keys argument, in a separate thread, or process. But this requires > one to be familiar with Windows API for spawning new threads/processes > (CreateProcess(), CreateThread() and their friends.) Is that really necessary? Is the spawn features from glib not enough? https://developer.gnome.org/glib/2.26/glib-Spawning-Processes.html#g-spawn-command-line-sync Good, we have a volunteer! :) (In reply to comment #3) > Good, we have a volunteer! :) I don't use Windows and I don't have any computer running Windows so count me out ;-) (In reply to comment #4) > (In reply to comment #3) > > Good, we have a volunteer! :) > > I don't use Windows and I don't have any computer running Windows so count > me out ;-) Isn't the point of using g_spawn to make it OS-agnostic? Your implementation should work in Linux/BSD/whatever as well, others would test it on Windows for sure ;-) This has now been implemented, see <http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=c4a67908ff7646951679cd56b187c689f8f325ca>. Done with bare winapi, since g_spawn* functions have a somewhat different use case than what was needed here. Also, I trust winapi more than I trust glib to not change the API in a year or so. (In reply to comment #6) > This has now been implemented, see > <http://git.claws-mail.org/?p=claws.git;a=commitdiff; > h=c4a67908ff7646951679cd56b187c689f8f325ca>. > > Done with bare winapi, since g_spawn* functions have a somewhat different > use case than what was needed here. Also, I trust winapi more than I trust > glib to not change the API in a year or so. Great news; thank you. Do you have any idea when a new version of claws-mail will be released? There have been at least two major changes since it was last released? |