3 ms·
On a related note, I'm confused why the hash is even required. Why not just name this file datajoy.txt or some other static name? It's also a shame that the em
by michaelmior 9y ago
On a related note, I'm confused why the hash is even required. Why not just name this file datajoy.txt or some other static name?
It's also a shame that the email has to be the only content in the file. For documentation purposes, it would be nice if subsequent lines would be guaranteed to be ignored so some documentation could be added on why the file exists.
- saimiam 9y agoWe just wanted to make sure domain owners were setting up a guaranteed unique file name which was unlikely to be needed by some other service. Also, we wanted to minimize the amount of logic needed to start making payments which is why we ask that the HTML file name be a well known hash function and the content be a single email address. If this content payment protocol gains traction, we would like to use some form of the ACME protocol which Let's Encrypt uses to verify domain ownership.
- michaelmior 9y agoWhy would allowing extra content in the file complicate the logic? Either way you're reading the first line of the file for an email. Anyway, I don't want to sound totally down on the idea in general. It's an interesting approach and I'd be happy to see this work!
- saimiam 9y agoGood point @ reading only the first line. Letting people add comments can't derail the parsing too much.