Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,250 posts.

Any topic
Any year
25052

How random are TOTP codes?

I'm pretty sure that the 2FA codes generated by my bank's TOTP app have a bias towards the number 8 - because eight is an auspicious number. But is that just my stupid meaty brain noticing patterns where none exist? The TOTP algorithm uses HMAC, which in turn uses SHA-1. My aforementioned brain is not clever enough to…

25055

Tumblr

The news hit yesterday that WordPress has purchased Tumblr from Verizon (which owns it by virtue of its acquisition of Yahoo! and AOL). USV seeded Tumblr along with our friends at Spark in the summer of 2007 and were actively involved in the development of the company until its sale to Yahoo! in 2013. I […]

25057

Java Trap, 2010 Edition

As a member of the Apache Software Foundation , my views on open source tend to gravitate towards more liberal licenses, like the Apache License (v2.0) , BSD, or MIT licenses. I strongly believe in enabling companies to take open source software and do whatever they wish to do with it, placing as little restrictions…

25062

Securing Ubuntu

Table of Contents Initial Setup Setting up iptables and Fail2Ban Fail2Ban iptables rules Make shared memory read-only Setting up Bastille Linux Configuring Bastille sysctl hardening Setting up a chroot environment Securing nginx inside the chroot Extras Initial Setup Let’s login to our new machine and take some…

25073

2FA on the command line

OTP: One-Time Password TOTP: Time-based One-time Password algorithm 2FA: Two-factor authentication There is no shortage of OTP 2FA apps availiable for your phone, such as Google Authenticator or Duo Mobile. These apps take an initial secret code, and create a TOTP anytime you need a 2FA code for login.… …