|
Ran
|
Jobs
1
|
Files
519
|
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)
70501 of 123829 branches covered (56.93%)
103907 of 118683 relevant lines covered (87.55%)
1364015.8 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
90.72 |
0.15% | src/box/applier.cc |
| 1 |
88.13 |
-0.63% | src/box/engine.c |
| 1 |
95.31 |
-1.56% | src/box/engine.h |
| 1 |
80.74 |
-0.41% | src/box/tuple_bloom.c |
| 1 |
90.14 |
-0.08% | src/box/vy_log.c |
| 1 |
94.99 |
-0.21% | src/box/vy_read_iterator.c |
| 1 |
87.44 |
-0.07% | src/box/vy_run.c |
| 1 |
84.56 |
0.11% | src/box/xlog.c |
| 1 |
80.0 |
-2.05% | src/lib/core/clock.c |
| 1 |
99.04 |
0.02% | src/lib/uri/uri.c |
| 2 |
95.84 |
-0.11% | src/box/iproto.cc |
| 2 |
90.99 |
-0.18% | src/box/memtx_engine.cc |
| 2 |
92.44 |
0.0% | src/box/vinyl.c |
| 2 |
96.15 |
-3.85% | src/lib/core/iostream.h |
| 2 |
85.13 |
-0.32% | src/lib/core/say.c |
| 2 |
95.45 |
-4.55% | src/lib/json/json.h |
| 3 |
94.15 |
-1.6% | src/box/vy_range.c |
| 3 |
94.25 |
-0.12% | src/box/xrow_update_field.c |
| 17 |
90.82 |
-0.52% | src/box/box.cc |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 18135348028.1 | 519 |
87.55 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|