bug#55661: /etc/ssh/authorized_keys.d contains keys that have been removed

2022-05-26 Thread Ludovic Courtès
Ludovic Courtès skribis: > Anyway, that code does intend remove the directory before copying it, > but there’s a typo: > > (delete-file-recursively "/etc/authorized_keys.d") Fixed in 4577f3c6b60ea100e521c246fb169d6c05214b20. Ludo'.

bug#55661: /etc/ssh/authorized_keys.d contains keys that have been removed

2022-05-26 Thread Ludovic Courtès
In the wake of , I realized that /etc/ssh/authorized_keys.d is stateful: we copy files from the authorized-key directory there, but files already present remain. IOW, keys remain authorized. Why are we copying that directory instead of making a symlink to the d