Hacker News new | ask | show | jobs
by userbinator 2666 days ago
A note for the privacy-conscious: binaries built in debug mode may contain more personally identifiable information, including full paths and names. Looking at his profile page, he does not seem too worried about concealing his identity, but it's just something to keep in mind if you want to release something (pseudo-)anonymously.
2 comments

Indeed, this information often even makes it into the app store. You can sometimes decompile (or run strings on) an app and see a developer's home directory, for example.
There is a pitch on the Swift forum to encode only the file name in a binary instead of the entire path, or hash it. The OP there makes some points about file size, even.

https://forums.swift.org/t/we-need-filename/

I wonder if there is an opportunity for a privacy cleaner for executables. Like there is for JPEGs.
strip(1)
strip(1) removes all debug info / symbols. But I was thinking of something that keeps the debug info but discards (or anonymizes) the personal info.