[tomboy-list] working encryption support

Boyd Timothy btimothy at gmail.com
Tue Dec 5 17:52:46 PST 2006


On 12/4/06, Roger Nesbitt <roger.nesbitt at ecosm.com> wrote:
> Hi,
>
> Sorry for the high volume of these posts.  I thought I'd share with you
> all this set of patches that implements working encryption support, and
> leave it at that until others have time to discuss the code.
>
> I've updated the main codebase so it handles encrypted notes gracefully.
>   I haven't used gnome-keyring, but it shouldn't be a big deal to
> implement that now if it's required.
>
> Hope it works for you.
>
> Cheers,
> Roger

I ran into an issue on a different project yesterday dealing with
gnome-keyring.  Normally, your environment has a GNOME_KEYRING_SOCKET
set.  You need this to connect with the keyring daemon.
Unfortunately, when your program is launched via DBus (eg. via the
com.beatniksoftware.Tomboy.service file), GNOME_KEYRING_SOCKET is not
carried over.  So, any attempt to access the keyring in the new
process won't work.  I saw this yesterday because my program would
access the keyring fine when starting it in a terminal but not through
the main menu.

I do think we ought to use GNOME Keyring for Tomboy encrypted notes.
But, we're going to have to help fix DBus or come up with an
alternative (since Tomboy can be launched by DBus).

-Boyd


More information about the tomboy-list mailing list