News for hackers. Stuff that matters.
Re:Show HN: CMS Server written in Go (alpha) by ryalfalpha on Saturday June 01, 2013 @01:19PM (#5804908)
Haven't done much golang and don't have it installed on this laptop, but are string comparisons constant time?

If not, I think there is potential for a timing attack here?

if usr == _admin_usr && pw == _admin_pw { return RootMode, nil }

Re:Show HN: CMS Server written in Go (alpha) by omra on Saturday June 01, 2013 @01:47PM (#5805039)
Go does not have constant time string comparisons by default. The crypto/subtle package supplies constant time comparisons.
Re:Show HN: CMS Server written in Go (alpha) by wilsonfiifi on Saturday June 01, 2013 @03:00PM (#5805405)
Thanks for pointing that out. Will look into it