Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #232464 > unrolled thread

Onion on boot to remotely unlock root partition

Started byAmuza en Hackea <amuza@hackea.org>
First post2021-03-07 01:00 +0100
Last post2021-03-07 02:10 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Onion on boot to remotely unlock root partition Amuza en Hackea <amuza@hackea.org> - 2021-03-07 01:00 +0100
    Re: Onion on boot to remotely unlock root partition deloptes <deloptes@gmail.com> - 2021-03-07 01:40 +0100
    Re: Onion on boot to remotely unlock root partition Celejar <celejar@gmail.com> - 2021-03-07 02:10 +0100

#232464 — Onion on boot to remotely unlock root partition

FromAmuza en Hackea <amuza@hackea.org>
Date2021-03-07 01:00 +0100
SubjectOnion on boot to remotely unlock root partition
Message-ID<BPOZX-6Ke-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hello, I'm new to this list!

With software like dropbear-initramfs, cryptsetup-initrafs and others
you can remotely unlock a booting Debian that has a LUKS-encrypted root
partition.

That is possible because it runs a SSH server in its unencrypted boot
partition which gives you basic remote access. That basic access is
enough to enter the unlocking passphrase which will let the encrypted
system boot.

That works great, but you need a public static address or DDNS and port
redirection.

I would like to have an onion service running in the boot partition too,
that way I could do the same without caring about addresses, ports or
names. And would add privacy too.

How could I make it?

Any advise, suggestion or step-by-step guide would be very much welcome,
but please keep in mind that I am not a developer.

Thank you very much!

[toc] | [next] | [standalone]


#232465

Fromdeloptes <deloptes@gmail.com>
Date2021-03-07 01:40 +0100
Message-ID<BPPCF-7c1-1@gated-at.bofh.it>
In reply to#232464
Amuza en Hackea wrote:

> I would like to have an onion service running in the boot partition too,
> that way I could do the same without caring about addresses, ports or
> names. And would add privacy too.
> 
> How could I make it?
> 
> Any advise, suggestion or step-by-step guide would be very much welcome,
> but please keep in mind that I am not a developer.

Looks like you want to add something to initrd
https://wiki.debian.org/initramfs
https://manpages.debian.org/buster/initramfs-tools-core/initramfs-tools.7.en.html

and this looks like a guide
http://forums.debian.net/viewtopic.php?t=73452

I personally have registered for DDNS and setup the ISP router accordingly.

[toc] | [prev] | [next] | [standalone]


#232468

FromCelejar <celejar@gmail.com>
Date2021-03-07 02:10 +0100
Message-ID<BPQ5H-7B4-3@gated-at.bofh.it>
In reply to#232464
On Sun, 7 Mar 2021 00:41:33 +0100
Amuza en Hackea <amuza@hackea.org> wrote:

> Hello, I'm new to this list!
> 
> With software like dropbear-initramfs, cryptsetup-initrafs and others
> you can remotely unlock a booting Debian that has a LUKS-encrypted root
> partition.
> 
> That is possible because it runs a SSH server in its unencrypted boot
> partition which gives you basic remote access. That basic access is
> enough to enter the unlocking passphrase which will let the encrypted
> system boot.
> 
> That works great, but you need a public static address or DDNS and port
> redirection.
> 
> I would like to have an onion service running in the boot partition too,
> that way I could do the same without caring about addresses, ports or
> names. And would add privacy too.
> 
> How could I make it?
> 
> Any advise, suggestion or step-by-step guide would be very much welcome,
> but please keep in mind that I am not a developer.
> 
> Thank you very much!

1) I'm no expert, but I think that using tor instead of something like
ddns for something like this is overcomplicating things, which is
probably why not many people seem to be doing it.

2) That being said, here's a solution someone built for Arch - I don't
know how easy it'll be to port it over to Debian:

https://github.com/grazzolini/mkinitcpio-tor

Celejar

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web