udiskie | tang | |
---|---|---|
15 | 11 | |
816 | 453 | |
- | 2.0% | |
7.2 | 7.1 | |
5 days ago | 2 months ago | |
Python | C | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
udiskie
-
Mount usb with user access
The most common approach (though a bit different) to get write access for users is probably using udisks[1]/udiskie[2] which use udev and polkit [3]. udiskie even supports luks unlocking [4].
-
How to mount LUKS encrypted USB storages (and HDDs inserted to hot swappable drive bay) automatically when connected? The machine is running headlessly, does not have desktop environments installed.
https://github.com/coldfix/udiskie looks close, but does it work without desktop environments? Is there alternatives to udiskie that doesn't require desktop environments and supports unlocking LUKS encrypted volumes?
-
Automount luks encrypted external USB drive?
Based on https://github.com/coldfix/udiskie/blob/master/doc/udiskie.8.txt and https://github.com/coldfix/udiskie/issues/66#issuecomment-289204539, you probably need to create a configuration for the encrypted hard disk in the file ~/.config/udiskie/config.yml. For example, as follows.
-
New to wm, I choose i3-gaps, any suggestions?
For example, I typically ran things like lxpolkit, nm-applet, redshift, udiskie and xfce4-power-manager when I used i3.
- External Device Detection
-
I3wm - How to get notified for an external device being connected?
By running udiskie in your i3 session, for example.
-
Allow a user mount/dismount HDD's without sudo
This. There is also udiskie, a GUI tool with notification icon, support for unlocking encrypted partitions, powering off USB devices, and so on.
- Please add paragraph "Automount external drives" into doc
-
basic applets/tray apps for tiling wm
I've used udiskie to handle removable drives in i3.
- Do polkit rules work without elogind?
tang
-
Can I boot an encrypted system by pulling the key from another PC?
Have a look at clevis and tang. These allow you do have one server - which could be your remote you want to pull from - to be source of the LUKS decryption on the system using tang.
-
PSA: Upgrade your LUKS key derivation function
I found that running tang[1] at home and needing to decrypt that box (can be a Pi or whatever) requiring a complex passphrase is very sufficient. You can even just unplug it at night if it makes you sleep better.
https://github.com/latchset/tang
-
How to mount LUKS encrypted USB storages (and HDDs inserted to hot swappable drive bay) automatically when connected? The machine is running headlessly, does not have desktop environments installed.
There are 3 ways to unlock a volume in a headless environment: - use a keyfile, located on an already available volume - use your device's TPM and utilize systemd-cryptenroll - use Clevis/Tang to unlock volumes remotely
-
is possible to encrypt disk without asking for password on boot?
This is why on headless servers you use tang (ideally, multiple tang servers)
-
Tang on OPNSense
Sharing my notes on running a Tang server on OPNSense, in case it is useful for somebody else.
-
PSA: If you have a LUKS encrypted system and a TPM2 chip, you can put it to good use
We use clevis against multiple tang servers to provide Network Bound Disk Encryption (NBDE). It's possible to also use TPM2 but it's easier to use multiple tang servers (requiring more than one server to decrypt) in the datacenter.
-
A lot of questions about Self hosting :)
For automating unlocking of encrypted drives, look into tang . Here is a red hat guide on setting it up. You will want to be running this on another device on your network, i run it on my router with openwrt since its a local device thats on 24/7. Basically it will unlock your disks as long as your server is on your network, so if your machine or drives are stolen or removed from your network they will just be encrypted as usual. Obviously use a strong encryption password.
-
Systemd 250 released
There are other ways to bind data, e.g. "network binding" with Tang server.
-
Best Evil Maid prototcol for Linux?
I wonder if https://github.com/latchset/clevis and https://github.com/latchset/tang (complementary projects) will help here.
-
Luks Root Encryption
Yes you can, using either Mandos or Clevis and Tang. https://www.recompile.se/mandos https://github.com/latchset/clevis https://github.com/latchset/tang. Basically on boot the server gets the key from another(s) servers. You could use a hidden raspberry pi for example.
What are some alternatives?
rofi - Rofi: A window switcher, application launcher and dmenu replacement
clevis - Automated Encryption Framework
skim - Fuzzy Finder in rust!
sedutil - Use sedutil for setting up and using self encrypting drives (SEDs) that comply with the TCG OPAL 2.00 standard. This includes the requisite pre-boot authentication image.
ffsend - :mailbox_with_mail: Easily and securely share files from the command line. A fully featured Firefox Send client.
docker-traefik - Docker media and home server stack with Docker Compose, Traefik, Swarm Mode, Google OAuth2/Authelia, and LetsEncrypt
inxi - inxi is a full featured CLI system information tool. It is available in most Linux distribution repositories, and does its best to support the BSDs.
booster - Fast and secure initramfs generator
jellex - TUI to filter JSON and JSON Lines data with Python syntax
systemd - systemd upstream
glances - Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
linux-luks-tpm-boot - A guide for setting up LUKS boot with a key from TPM in Linux