elitak / nixos-infect

[GPLv3+] install nixos over the existing OS in a DigitalOcean droplet (and others with minor modifications)
GNU General Public License v3.0
1.32k stars 215 forks source link

Continue with next file if no keys are found #148

Closed aequitas closed 1 year ago

aequitas commented 1 year ago

If a authorized_keys file is empty or does not contain valid keys the rest of the illegible files are skipped. This change will make sure all files are checked until at least one key is found.