omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Consider optional encryption

Open rantnar opened this issue 1 year ago • 17 comments

I had a problem installing from ISO because of encryption. I wasn't able to decrypt my computer after installation.

Tried locale: pl, en. I'm using standard USB keyboard.

rantnar avatar Aug 29 '25 05:08 rantnar

Hey @rantnar! This appears to be a keyboard layout mismatch between installation and boot encryption unlock.

If you want to complete the installation and boot into the system right now, the quickest solution would be to reinstall using US keyboard layout. You can always change the keyboard layout to Polish later in Omarchy - there's a configuration file at ~/.config/hypr/input.conf for this.

The issue occurs because the ISO doesn't configure the selected keyboard layout for the early boot encryption unlock prompt, so it defaults to US layout while your password was likely created with Polish layout characters.

Let me know if reinstalling with US layout gets you into the system.

jardahrazdera avatar Aug 29 '25 10:08 jardahrazdera

Same behaviour with us layout

rantnar avatar Aug 29 '25 13:08 rantnar

Since the issue persists with US layout, this might be hardware-specific. Could you share:

  • What type of disk are you installing to? (NVMe SSD, SATA SSD, or HDD)
  • What's your motherboard/laptop model?
  • Is Secure Boot enabled in BIOS/UEFI?

This will help us identify if it's related to specific hardware compatibility.

jardahrazdera avatar Aug 29 '25 14:08 jardahrazdera

I'm using NVMe SSD, ryzen 7 with b450 MSI motherboard and nvidia 4070 GPU. Secure Boot is disabled.

rantnar avatar Aug 29 '25 14:08 rantnar

Thanks for the hardware details. This seems to be a specific issue with the archinstall + LUKS combination on your system.

As a workaround, you could try the manual installation method: https://learn.omacom.io/2/the-omarchy-manual/96/manual-installation

However, you'll need to skip LUKS encryption during manual installation. Keep in mind that without encryption, anyone with physical access to your PC can access your data without restrictions (unless your hardware supports hardware-level encryption).

If the manual installation works without encryption, we'll know the issue is specifically with the automated LUKS setup rather than a general compatibility problem.

jardahrazdera avatar Aug 29 '25 14:08 jardahrazdera

Sorry, maybe i wasn't clear before. Im running omarchy no problem, just without LUKS as you suggested. I just would like an ISO installation to have no encryption option. Right now without encryption i have to setup no auto login myself.

pt., 29 sie 2025, 16:30 użytkownik Jarek @.***> napisał:

jardahrazdera left a comment (basecamp/omarchy#1281) https://github.com/basecamp/omarchy/issues/1281#issuecomment-3237234405

Thanks for the hardware details. This seems to be a specific issue with the archinstall + LUKS combination on your system.

As a workaround, you could try the manual installation method: https://learn.omacom.io/2/the-omarchy-manual/96/manual-installation

However, you'll need to skip LUKS encryption during manual installation. Keep in mind that without encryption, anyone with physical access to your PC can access your data without restrictions (unless your hardware supports hardware-level encryption).

If the manual installation works without encryption, we'll know the issue is specifically with the automated LUKS setup rather than a general compatibility problem.

— Reply to this email directly, view it on GitHub https://github.com/basecamp/omarchy/issues/1281#issuecomment-3237234405, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIEOERNNUU7MDME3B6XEN233QBPWZAVCNFSM6AAAAACFDPPANSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMZXGIZTINBQGU . You are receiving this because you were mentioned.Message ID: @.***>

rantnar avatar Aug 29 '25 14:08 rantnar

Ah, I see! I misunderstood your original issue. You're actually requesting a feature enhancement for the ISO installer - to add a "no encryption" option in archinstall so users don't have to manually disable auto-login afterwards.

This is a valid feature request that would require modifying the archinstall script in the ISO to include an encryption/no-encryption choice during installation.

However, the original LUKS encryption issue you reported (getting stuck on password prompt) is still an unresolved bug that should be investigated and fixed, even if you're now using the workaround.

So we actually have two valid issues here:

  1. Bug: LUKS encryption fails during boot on certain hardware configurations
  2. Feature request: Add "no encryption" option to ISO installer

Thanks for clarifying!

jardahrazdera avatar Aug 29 '25 14:08 jardahrazdera

Full-disk encryption is integral to the default security setup of Omarchy since we do autologin. So that's not going to change on the ISO path, which is the default. But we always have the manual installation for those who want something different.

I'm definitely interested in finding any issues where the LUKS encryption setup doesn't work, though! That's a bug and we should fix that rather than workaround it. Please do open an issue with all details on that, what you tried, and we'll attempt to get to the bottom of it.

dhh avatar Aug 31 '25 05:08 dhh

@dhh I want to run my Omarchy SER8 as a server and ssh in but disk encryption on boot means if it power cycles I cant log in. How do I disable it? I am fully aware of the security implications.

I know this isn't meant to be a server OS but at the same time, servers with desktop environments are really useful when you need less technical people to also set them up and configure them with desktopy style software.

Even just a simple guide would be fine, I have tried lots of ChatGPT foo but every boot just results in the same password prompt and i'm messing with too many new technologies to know which one ChatGPT isn't resolving properly.

madhavajay avatar Sep 10 '25 23:09 madhavajay

I don't think Omarchy is a good fit for a server. I think you're better off just using Arch or Ubuntu or whatever. But if you DO want to do it that way, just do a manual installation, don't add encryption, and you're off to go.

dhh avatar Sep 11 '25 14:09 dhh

@dhh okay manual sounds like the way to go. I did manage to get it to work with ChatGPT but not with any steps I can repeat in future.

As I said, there are lots of people who want to run a "server" but also need a solid functional desktop environment too. For example in the bioinformatics space.

What if you could type in a url for a "custom config" on install and have it pull down that configuration plan?

Then anyone could remix the base installer after the fact?

madhavajay avatar Sep 16 '25 21:09 madhavajay

I think the manual install is the way to go for specialized installations like this. That gives you full control over encryption, partitioning, etc.

dhh avatar Sep 17 '25 07:09 dhh

The problem I have with LUKS encryption is the remote desktop scenario. I normally have auto-login enabled and after I send Wake On Lan signal, Tailscale and Sunshine start and I'm able to connect and use my desktop which used to be Ubuntu. However, after installing Omarchy (and loving it!), because it has encryption as default, it doesn't start Tailscale or Sunshine so I'm not able to use any remote desktop technology if my desktop is shut down.

As you pointed out, the manual installation lets me disable encryption and I'll do a reinstallation for that but ust wanted to provide a valid use case.

Interestingly, Apple Remote Desktop technology works even with disk encryption enabled if you're on local network (it doesn't start tailscale but Apple RDP app is able to connect, hence VNC server is running). But this may be fundamentally not possible in Linux.

muvaf avatar Oct 29 '25 19:10 muvaf

Couldn't agree more with @muvaf. The exact same use case.

Not using it as a server but its my main machine which I would like to remotely access with WoL on the go for remote gaming or anything else really.

mohimirza avatar Nov 08 '25 20:11 mohimirza

Full-disk encryption is integral to the default security setup of Omarchy since we do autologin. So that's not going to change on the ISO path, which is the default. But we always have the manual installation for those who want something different.

I'm definitely interested in finding any issues where the LUKS encryption setup doesn't work, though! That's a bug and we should fix that rather than workaround it. Please do open an issue with all details on that, what you tried, and we'll attempt to get to the bottom of it.

@dhh On my bluetooth wireless keyboard and I tried 2 diferent ones, I cannot enter the password. I have to switch to a wired one and then the bluetooth kicks on. People may be wanting to turn off the encryption also due to that reason. Is there a possible fix so the bluetooth would work on the sign in screen? - Just installed Omarchy today and am having a blast with it.

ashaikh avatar Nov 09 '25 08:11 ashaikh

Unfortunately this is a limitation of bluetooth and Linux full-disk encryption. You'll need to be hardwired or use a 2.4ghz dongle. There are lots of fantastic keyboard options that offer those combos, though. I really like the Lofree Flow84 (hardwired), the Nuphy Air75 V3 (2.4ghz), and the Lofree Flow84 V2 (2.4ghz). Happy keyboard hunting!

dhh avatar Nov 09 '25 10:11 dhh

Lesson I learnt today: If you use bluetooth keyboard (like Apple's Magic Keyboard), then when you install Omarchy, you should NOT use the default options. Instead, go for advanced options, disable full disk encryption (LUKS).

Why:

  • By default, installer will enable full disk encryption (LUKS).
  • When boot, it will ask for password to decrypt your disk.
  • This is happening before OS and bluetooth are ready, thus your bluetooth keyboard won't work.
  • You have to find another usb keyboard, just to type password.
  • Also, this password is different from your login password, you may get confused why your password is rejected.
  • you can not disable it either, unless you reinstall OS.

idevpi avatar Sep 10 '26 00:09 idevpi