|
Ran
|
Jobs
1
|
Files
515
|
Run time
2min
|
Badge
README BADGES
|
push
github
ssl: eliminate sensitive data leak in cfg options Before this patch sensitive ssl data (password, paths to certificates, path to private key) could leak into log file during configuring `listen` and `replication` option of box.cfg. This could lead to serious security risks. Now we fix this issue by extending the functionality of the `purge_ensitive_data_from_uri` function so that it can process not only string uris, but also table uris with `uri` and `params` options. After this patch next uri parameters will not be printed in log file: `password` and all params which contain "ssl_" prefix. Also we rename main cleaner functions so that user can understand that it can purge not only `uri.password`, but also other sensitive params (e.g. ssl params). Needed for tarantool/tarantool-ee#1438 NO_DOC=<ee bugfix> NO_TEST=<ee bugfix> NO_CHANGELOG=<ee bugfix> (cherry picked from commit 23b5585c3)
68949 of 121813 branches covered (56.6%)
101864 of 116529 relevant lines covered (87.42%)
1794450.88 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 16 |
90.72 |
-0.51% | src/box/box.cc |
| 9 |
88.14 |
-7.63% | src/box/vy_regulator.c |
| 5 |
87.03 |
-0.33% | src/box/vy_run.c |
| 4 |
93.02 |
-0.01% | src/lib/core/fiber.c |
| 2 |
92.15 |
0.0% | src/box/vinyl.c |
| 2 |
88.69 |
-0.11% | src/box/xrow.c |
| 2 |
85.61 |
-0.72% | src/lib/core/coio.c |
| 2 |
94.11 |
-0.39% | src/lua/fiber.c |
| 1 |
95.36 |
0.0% | src/box/replication.cc |
| 1 |
95.68 |
-0.72% | src/box/vy_point_lookup.c |
| 1 |
84.43 |
-0.08% | src/box/xlog.c |
| 1 |
80.0 |
-2.05% | src/lib/core/clock.c |
| 1 |
60.42 |
-0.42% | src/lib/core/fio.c |
| 1 |
91.45 |
0.0% | src/lib/swim/swim.c |
| 1 |
94.59 |
-0.32% | src/lib/swim/swim_io.c |
| 1 |
99.04 |
0.02% | src/lib/uri/uri.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 18135359398.1 | 515 |
87.42 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|