News for hackers. Stuff that matters.
Re:Ask HN: Have you set up a procedure to disclose you passw... by cperciva on Monday October 31, 2022 @06:18PM (#33414092)
That's why the Tarsnap key file format includes a checksum on each line, so tarsnap can tell you which line to look for the OCR (or typing) error on.

When I was writing this code I wasn't sure if it would ever matter but figured "hey, why not..." -- but I've probably had a dozen emails since then from users thanking me for including those.

Re:Ask HN: Have you set up a procedure to disclose you passw... by stavros on Monday October 31, 2022 @06:32PM (#33414246)
Oh nice, I didn't realize it was a custom format.
Re:Ask HN: Have you set up a procedure to disclose you passw... by cperciva on Tuesday November 01, 2022 @07:19PM (#33429145)
It's base64, but with added checksums, yeah. There's very little that I use off-the-shelf in Tarsnap -- generally speaking I take existing standards and then make tweaks as needed to optimize for Tarsnap's use case. (Sometimes, as with scrypt, I decide that existing standards simply aren't any good and develop my own from the ground up.)