lantern icon indicating copy to clipboard operation
lantern copied to clipboard

use Ubuntu's keyring

Open lanterndev opened this issue 14 years ago • 13 comments

We were using password-based encryption of sensitive data we had to store on Ubuntu, and now that we've switched to Oauth, are now switching to just not storing anything sensitive on Ubuntu, forcing a new Oauth sequence when the user restarts Lantern. Switching to gnome-keyring would bring Ubuntu up to the same level of support we offer on Mac and Windows.

lanterndev avatar Jul 13 '12 17:07 lanterndev

blocked by #249?

lanterndev avatar Jul 13 '12 17:07 lanterndev

A lot of Linux users are likely either normal users who are under a lot of potential danger or super techie users. Both care more than your typical user about security, so I don't think password-based unlock is a bad default for them. Pushing past Asimov.

myleshorton avatar Jul 14 '12 22:07 myleshorton

This will be particularly good to get done for Google two-factor auth users on Ubuntu!

lanterndev avatar Mar 02 '13 05:03 lanterndev

OK, I did this on the dbus branch. But, because of #249, we don't support earlier versions of Ubuntu.

Ubuntu 10.04's is officially unsupported on the desktop as of next month. I propose that we simply don't worry about supporting it.

leahxschmidt avatar Mar 09 '13 01:03 leahxschmidt

This doesn't work. It tries to load the so files from the jar, but the so files are never added to the jar. Doesn't work from checked out versions and definitely breaks installed versions unfortunately.

myleshorton avatar Mar 20 '13 01:03 myleshorton

The freedesktop D-Bus wrapper for Java makes me uneasy. Would it be worth having a pure-Java implementation (D-Bus works over Unix sockets)?

ghostdance avatar Mar 20 '13 02:03 ghostdance

I guess Unix sockets in Java would require JNA anyway.

ghostdance avatar Mar 20 '13 02:03 ghostdance

Hmmm..should be able to do it in java I would think, but what about it makes you uneasy?

On Tuesday, March 19, 2013, ghostdance wrote:

I guess Unix sockets in Java would require JNA anyway.

— Reply to this email directly or view it on GitHubhttps://github.com/getlantern/lantern/issues/357#issuecomment-15155226 .

Sent from Gmail Mobile

myleshorton avatar Mar 20 '13 02:03 myleshorton

I actually have no substantive reason to dislike it other than that it seems to have a lot of parts. Feel free to ignore me!

There doesn't seem to be anything else on the offing. If I can help with packaging this, let me know.

On Tue, Mar 19, 2013 at 07:29:06PM -0700, myleshorton wrote:

Hmmm..should be able to do it in java I would think, but what about it makes you uneasy?

On Tuesday, March 19, 2013, ghostdance wrote:

I guess Unix sockets in Java would require JNA anyway.

— Reply to this email directly or view it on GitHubhttps://github.com/getlantern/lantern/issues/357#issuecomment-15155226 .

Sent from Gmail Mobile


Reply to this email directly or view it on GitHub: https://github.com/getlantern/lantern/issues/357#issuecomment-15155276

ghostdance avatar Mar 20 '13 02:03 ghostdance

"It just generally seems crappy" is totally legit in my book!

On Tuesday, March 19, 2013, ghostdance wrote:

I actually have no substantive reason to dislike it other than that it seems to have a lot of parts. Feel free to ignore me!

There doesn't seem to be anything else on the offing. If I can help with packaging this, let me know.

On Tue, Mar 19, 2013 at 07:29:06PM -0700, myleshorton wrote:

Hmmm..should be able to do it in java I would think, but what about it makes you uneasy?

On Tuesday, March 19, 2013, ghostdance wrote:

I guess Unix sockets in Java would require JNA anyway.

— Reply to this email directly or view it on GitHub< https://github.com/getlantern/lantern/issues/357#issuecomment-15155226> .

Sent from Gmail Mobile


Reply to this email directly or view it on GitHub: https://github.com/getlantern/lantern/issues/357#issuecomment-15155276

— Reply to this email directly or view it on GitHubhttps://github.com/getlantern/lantern/issues/357#issuecomment-15155728 .

Sent from Gmail Mobile

myleshorton avatar Mar 20 '13 03:03 myleshorton

The so files are in lib/linux/$arch, which is set as java.library.path in quickRun.bash.

leahxschmidt avatar Mar 20 '13 05:03 leahxschmidt

And on a branch, I'm working on making this happen in the tests, too

leahxschmidt avatar Mar 20 '13 05:03 leahxschmidt

(assigned myleshorton since he was going to add that path to the installer)

leahxschmidt avatar Mar 20 '13 19:03 leahxschmidt