thusoy

Joined 12 years ago

Karma
75
Submissions
15
Member since
May 21
Co-founder of megacool.co.
View on Hacker News

Recent submissions

Comment · 9 years ago
Comment · 10 years ago
Yes, self-signed certificates without a CA is MitM-prone, but that's the only thing Heroku enables. You're only given a username and password and have to do with whatever configuration they've done, thus the problems.
Comment · 10 years ago
Thanks, glad you liked it!
Comment · 10 years ago
OP here. That's entirely correct, Postgres deployed correctly is secure against a MitM, but since Heroku has not issued a trust root, they are not.

Edited to add: As a user of Heroku Postgres you can't configure Postgres correctly, Heroku is supposed to do that for you.

Comment · 10 years ago
Comment · 10 years ago
Comment · 10 years ago
Comment · 11 years ago
Sadly, it doesn't. I was hoping for this as well, so I tested it, and it turns out that the user agent of the two browsers are identical.

  EME:      Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0  
  EME-free: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Comment · 11 years ago
Comment · 12 years ago
The easiest version is the most portable and easy to read in this case:

os.urandom(20)

Saves you from having to manage files at all, and works cross-platform.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton