Opened 5 months ago

Closed 2 weeks ago

#19113 closed enhancement (fixed)

do not copy any existing SSH host keys into the target Haiku filesystem

Reported by: dovsienko Owned by: nobody
Priority: normal Milestone: R1/beta6
Component: Applications/Installer Version: R1/beta5
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

When a user writes the "anyboot" disk image to a USB storage and boots from it, they see an "install Haiku or try Haiku" window. If the user chooses to try Haiku first, this among other things generates host SSH keys and stores these on the USB storage. When the user runs the installer from that USB storage later, the target system has the same SSH host keys, which is not a good practice. The host keys should be omitted (or at least deleted after the installation, if that's easier), so the target system can generate its own keys.

Change History (4)

comment:1 by pulkomandy, 5 months ago

It is missing from the installer filter of things to not copy: https://cgit.haiku-os.org/haiku/tree/src/apps/installer/WorkerThread.cpp#n95

This should be easy to fix

comment:2 by waddlesplash, 5 months ago

Milestone: UnscheduledR1/beta6

comment:3 by ohnonotamoth, 2 weeks ago

I made a commit to fix this: https://review.haiku-os.org/c/haiku/+/8944

comment:4 by waddlesplash, 2 weeks ago

Resolution: fixed
Status: newclosed

Patch merged in hrev58616. Thanks!

Note: See TracTickets for help on using tickets.