@me why does that need to run as root?
When I came across the topic I found that loop-devices seem not to be supported in namespaces. Access to something like losetup
is always system-wide as I remember.
There are other ways I could think of:
- the smallest possible vm running its own kernel to provide the tombs filesystem. Sounds like alpine to me :). (have to add this idea to the tomb issue...)
- kernel development: make loop devices usable in namespaces
- make sudo more comfortable
@me @craftyguy Have you tried https://www.libguestfs.org/guestmount.1.html ? It allows to mount images via FUSE and it does that by launching a minimal VM in the background.
password-store using pass & tomb on mobile linux
This video shows
sudo
only oncepass
wrapper script installed on my Librem5 that startspass
inside the terminalfoot
to give me a way to enter my password forsudo
pass-mgr-compact
I double tapped/clicked on my password to get it decrypted (using the openpgp card in my LibremKey) and copied to the clipboardpass-mgr-compact
and moving towards the right signals the time I have left with the password in my clipboard to paste it to the place it is needed atpass-mgr-compact
and it decides to close my password store which needs again my password tosudo
pass
is started and the password store is closedThis workflow makes it easy to use a pass #tomb on a mobile device. Thanks to chrisu281080 for the great, mobile-friendly gui
pass-mgr-compact
!