News for hackers. Stuff that matters.
Re:Golang SSH Security by 3pt14159 on Saturday April 15, 2017 @02:46PM (#14122135)
I love Digital Ocean, but they do the same thing with their API. I wrote to them about it years ago, even talked to some developers there, and the general explanation is the same: Screw around with cloud-init to get the public key.

If you use the DO API to provision servers my feature request is here:

https://digitalocean.uservoice.com/forums/136585-digitalocea...

Please upvote it or at the very least copy the cloud-init script to help provision your servers.

Re:Golang SSH Security by problems on Sunday April 16, 2017 @03:49AM (#14124858)
For hostkeys on DO you can probably get a script to run that'll request a signed certificate from a server you own. The signed cert can be validated fully by clients.

Or go with a convergence style system and probe it from multiple locations.

Or just give up and go with TOFU - if you never get an error even on different connections, you probably haven't been mitm'd.

Re:Golang SSH Security by DorothySim on Sunday April 16, 2017 @10:03AM (#14125825)
> For hostkeys on DO you can probably get a script to run that'll request a signed certificate from a server you own.

Or just embed the signed host certificate in cloud-init.