Opened 3 months ago

Last modified 3 months ago

#19113 new enhancement

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 (2)

comment:1 by pulkomandy, 3 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, 3 months ago

Milestone: UnscheduledR1/beta6
Note: See TracTickets for help on using tickets.