whisperfish / libsignal-service-rs

A Rust version of the libsignal-service-java library for communicating with Signal servers.
https://whisperfish.github.io/libsignal-service-rs/libsignal_service
GNU Affero General Public License v3.0
68 stars 31 forks source link

Log censoring #53

Open rubdos opened 3 years ago

rubdos commented 3 years ago

Currently, the trace log contains secrets, such as the phone number and signaling password. We might want to filter these out.

@gferon We could introduce a feature = "unhygienic-logging", or we could do cfg!(debug-assertions), to still allow to log these things. What do you think? I'd vote that a debug build can contain sensitive information, while release mode should really filter and censor these crucial things.

Things to censor:

rubdos commented 2 years ago

Made https://gitlab.com/whisperfish/desan