ublue-os / bazzite

Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
https://bazzite.gg
Apache License 2.0
3.6k stars 211 forks source link

Use unl0kr for easy mobile disk encryption unlocking #464

Open memoryfile opened 10 months ago

memoryfile commented 10 months ago

Following up from a discord discussion:

https://gitlab.com/cherrypicker/unl0kr

Comments from that discussion:

breezy-dark-1920x1080

KyleGospo commented 9 months ago

@EyeCantCU This is building but I'm having some trouble w/ hooking it up in initramfs/dracut. If you (or anyone else) have time, take a look at: https://copr.fedorainfracloud.org/coprs/kylegospo/unl0kr/ in a VM, immutable or otherwise.

SimpleDRM is re-enabled as of Bazzite F39 so once we get this working we can actually ship it on Deck.

EyeCantCU commented 9 months ago

Will certainly investigate this

RodoMa92 commented 9 months ago

This looks amazing, I'll try to take a look at it sooner. No promises tho :P

jaduncan commented 8 months ago

This is marked as help wanted - what would be useful?

KyleGospo commented 8 months ago

This is marked as help wanted - what would be useful?

Anything that furthers https://github.com/ublue-os/bazzite/issues/464#issuecomment-1808809849 would be greatly appreciated.

memoryfile commented 5 months ago

Just a heads up, unl0kr moved locations https://fosstodon.org/@h3nn3s/112141302068083748

bjoern-tantau commented 4 months ago

I got it to work on OpenSUSE. I've made a pull request at https://github.com/KyleGospo/unl0kr/pull/2.

The patch to unl0kr is actually not needed, it works with or without. I also did not test compiling it using the spec file because I frankly don't know how, I did everything by hand. But I guess that it will work.

JoshuaFern commented 4 months ago

I was able to use unl0kr with Jovian NixOS just fine but the screen was in the wrong orientation.

In the mean time I've been using deckbd with great success https://github.com/Ninlives/deckbd

e-minguez commented 2 months ago

What about this one? https://github.com/pmkap/deckrypt

timhae commented 1 month ago

@JoshuaFern would you mind sharing your config? your nix config was last updated two years ago

ticky commented 3 weeks ago

Is there a reason the lack of onscreen keyboard at this stage isn't documented as a caveat? It seems weird that the docs just mention you can choose to enable disk encryption in the handheld guide, but don't mention it's a potential footgun:

  • Optionally encrypt the drive with a password if desired.
    • If you lose this password, then it cannot be decrypted.

https://universal-blue.discourse.group/t/bazzite-inital-setup-and-installation-for-the-steam-deck/1143