ricochet-im/ricochet — pull request #75 by special (2014-08-14 21:57:53+00:00)
Title: Filter unwanted keys when writing torrc to remove filesystem paths

Tor's SAVECONF command will write all configuration to the torrc file.
That includes several keys with absolute filesystem paths, some of which
will cause Tor to fail at launch if the path is moved.

Instead, we get the config text from tor, and write it to disk
ourselves after filtering out unwanted keys.

To fix existing configurations, a rewrite of the torrc is triggered on
startup. That can be removed in some later version.