torrust / torrust-tracker

A modern and feature-rich (private) BitTorrent tracker.
https://torrust.com
GNU Affero General Public License v3.0
339 stars 40 forks source link

Config overhaul: remove secrets when final config is printed to console #951

Closed josecelano closed 4 days ago

josecelano commented 4 days ago

When the tracker is started, the final configuration is printed out. This feature was added in https://github.com/torrust/torrust-tracker/issues/935. This PR masks the secrets with asterics.

josecelano commented 4 days ago

ACK 4673514bdd401c5546f0da7ec71eb7dd4c4f9c1a

codecov[bot] commented 4 days ago

Codecov Report

Attention: Patch coverage is 60.71429% with 11 lines in your changes missing coverage. Please review.

Project coverage is 77.31%. Comparing base (1e891f1) to head (4673514).

Files Patch % Lines
packages/configuration/src/v2/mod.rs 14.28% 6 Missing :warning:
packages/configuration/src/v2/tracker_api.rs 0.00% 4 Missing :warning:
src/bootstrap/app.rs 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #951 +/- ## =========================================== - Coverage 77.36% 77.31% -0.05% =========================================== Files 183 183 Lines 9707 9731 +24 =========================================== + Hits 7510 7524 +14 - Misses 2197 2207 +10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.