Dropping Privileges in Go

Computer programs may do lots of things, both intended and unintended. What they can do is limited by their privileges. Since most operating systems execute programs as a certain user, the program has all the user&rsquo;s precious privileges. To take a concrete example, if a user has an SSH private key laying around and runs, e.g., a chat program, then this program is able to read the private key…