News for hackers. Stuff that matters.
Re:Ask HN: Things programmers should get rid of in 2017 by lfx on Thursday December 01, 2016 @12:41PM (#13081472)
Interesting question.

I would say - Password only ssh logins; Old / Vuln libs; non tests covered code; XSS and SQL Injection from all the code. - But this is really boring.

AI witch threatens to take over developers occupation - this is more interesting idea for future consideration.

But really I just want to see one thing to be destroyed - idea that creating new tools will solve all the issues (looking at you JS world) instead of improving existing ones or even real deep thinking about the problem beforehand. And then dropping it (new tool) after something new more shiner comes up.

Re:Ask HN: Things programmers should get rid of in 2017 by odonnellryan on Thursday December 01, 2016 @02:02PM (#13082343)
> Password only ssh logins

Dear lord, this still happens? :)

Re:Ask HN: Things programmers should get rid of in 2017 by dozzie on Thursday December 01, 2016 @02:12PM (#13082445)
Of course not. Your SSH key on a server lands there magically using quantum entanglement-based key distribution protocol.
Re:Ask HN: Things programmers should get rid of in 2017 by odonnellryan on Thursday December 01, 2016 @05:46PM (#13084298)
This is a little funny, because I haven't spun up a new server in years with a password. They've all had my public keys from the get-go.
Re:Ask HN: Things programmers should get rid of in 2017 by dozzie on Thursday December 01, 2016 @06:26PM (#13084595)
How often do you deploy servers? And how much of that is cloning[#] a prepared virtual machine?

I realize that there are ways to install an OS and preconfigure it at one go, but those need some non-trivial mechanics in place. Also, it is (was until quite recently) much easier to share a password between machines with LDAP than having the same with user keys.

Programmers tend to have quite skewed idea on what operates the production, as they rarely see the details.

[#] Cloning an already installed system is usually a stupid thing, unless you make sure that SSH host keys don't get shared (and several similar things).

Re:Ask HN: Things programmers should get rid of in 2017 by odonnellryan on Friday December 02, 2016 @02:11AM (#13086750)
> And how much of that is cloning[#] a prepared virtual machine?

Shouldn't this or using deployment scripts be "almost always?"

> much easier to share a password between machines with LDAP than having the same with user keys.

I think this is a different subject, no? I've never had to do this.

> Programmers tend to have quite skewed idea on what operates the production, as they rarely see the details.

I've worked as both a programmer and a sysadmin for large enterprises, so I've seen both sides!

> Cloning an already installed system is usually a stupid thing, unless you make sure that SSH host keys don't get shared (and several similar things).

No it isn't. It's fine to have a "base" image that you use to then run deployment scripts on, if done correctly. Way better than having to go through a 20+ step process of securing a new Linux or Windows box :)

Re:Ask HN: Things programmers should get rid of in 2017 by krapp on Thursday December 01, 2016 @02:21PM (#13082526)
>Dear lord, this still happens? :)

For what it's worth, every time I've seen this question asked here, the answer has been yes.

Re:Ask HN: Things programmers should get rid of in 2017 by odonnellryan on Thursday December 01, 2016 @05:46PM (#13084301)
Haha, I know...
Re:Ask HN: Things programmers should get rid of in 2017 by auganov on Thursday December 01, 2016 @07:52PM (#13085066)
And unprotected keys while we're at it.