Skip to content

Support for multiple peer config files

Compare
Choose a tag to compare
@MindFlavor MindFlavor released this 08 Jul 09:09
· 25 commits to master since this release
9d37840

This release adds support for multiple peer files as proposed by Tobias Krischer in #61. Since this version is backward compatible I've just increased the lower value of the version. You should be able to replace the existing binary without loss of functionality.

This PR starts the initial support of conditional compilation of leaky logs. The actual version leaks secrets all over the place if you enable the verbose log. The current version replaces the private key with the string **hidden** so your logs won't include the private keys anymore. Be aware this is a incomplete change: I will hunt for all the places where the secrets are leaked in another PR.

If you want to restore the previous, leaky log, you have to recompile to enable the flag leaky_log like this:

cargo build --features leaky_log

Generally speaking you should not need to do it but I've left the option open for troubleshooting in case of bugs.