-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add password protection similar like xochitl #15
Comments
I like this! My one concern is that since xochitl needs to be launched for wifi to connect, I'd prefer to hold off on this until we get oxide handling wifi connections. That way you can get unstuck if for some reason you forgot your password, don't have a USB cable, but still have ssh credentials. |
So, blocked by #7 |
or we keep 1111 as a "hidden" super password ;)... just joking |
QSettings xochitlSettings("/home/root/.config/remarkable/xochitl.conf", QSettings::IniFormat);
xochitlSettings.sync();
qDebug() << xochitlSettings.value("Password").toString(); |
are you telling me that they keep the login password in the settings completely unencrypted? |
Ohh well, just checked... |
@torwag Yup, completely human readable too. Honestly I'm not too concerned, technically you'd already have root access to the device if you can read it. Which means you already can do whatever you want. As we start to develop apps though, we might start creating attack vectors that would mean we want to do something to secure it better. |
So I'm trying to figure out the correct scope here. Here is what I think would be the correct way to do this: On Install
On Uninstall
@torwag and @raisjnn thoughts? I'm also thinking of mimicking the xochitl password screen. |
That sounds valid to me. I thinking whether some users prefer to have two passwords. One for xochitl one for oxide... like in: |
So maybe on install/first launch prompt to import? Afterwords just leave it alone? And then on uninstall only export if xochitl doesn't have a password configured? |
Best would be if it prompts for import during install and prompt to copy it back to xochitl during uninstall, albeit the uninstall one might be tricky to realize. I just think it would be best if a user knows exactly what is going on with something like passwords. Against b) speaks the point that if someone is able to uninstall oxide, he most likely has root access and is able to recover the password easily. |
I'm thinking that the best way to handle this would be to have an initial wizard on first launch after install that does the following:
|
Mostly done. I don't have an option to change the PIN, or to not use a PIN. I think the option to change the PIN will just be part of #99. I will need to add the option to not pick a PIN though. |
Okay no pin option exists. Closing this. #99 will handle the changing of the pin. |
Seems to be a bit of a weak spot if you have a password on xochitl to protect important data, but one can start e,g, a shell terminal just without any password.
The text was updated successfully, but these errors were encountered: