WIP: initial mtls package #133

Merged
vtolstov merged 4 commits from mtls into v3 2022-06-27 00:22:10 +03:00
vtolstov commented 2022-05-12 15:11:43 +03:00 (Migrated from github.com)

Signed-off-by: Vasiliy Tolstov v.tolstov@unistack.org

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
github-actions[bot] (Migrated from github.com) reviewed 2022-05-12 15:12:00 +03:00
codecov[bot] commented 2022-05-12 15:12:40 +03:00 (Migrated from github.com)

Codecov Report

Merging #133 (4a8f490) into v3 (bb22b20) will increase coverage by 0.13%.
The diff coverage is 46.24%.

Impacted file tree graph

@@            Coverage Diff             @@
##               v3     #133      +/-   ##
==========================================
+ Coverage   40.84%   40.97%   +0.13%     
==========================================
  Files          95       97       +2     
  Lines        8532     8785     +253     
==========================================
+ Hits         3485     3600     +115     
- Misses       4730     4860     +130     
- Partials      317      325       +8     
Impacted Files Coverage Δ
mtls/mtls.go 43.52% <43.52%> (ø)
mtls/options.go 51.80% <51.80%> (ø)
network/transport/memory.go 70.55% <0.00%> (-1.23%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bb22b20...4a8f490. Read the comment docs.

# [Codecov](https://codecov.io/gh/unistack-org/micro/pull/133?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) Report > Merging [#133](https://codecov.io/gh/unistack-org/micro/pull/133?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) (4a8f490) into [v3](https://codecov.io/gh/unistack-org/micro/commit/bb22b203cc3466ae093224fa36dd45cb52d90a68?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) (bb22b20) will **increase** coverage by `0.13%`. > The diff coverage is `46.24%`. [![Impacted file tree graph](https://codecov.io/gh/unistack-org/micro/pull/133/graphs/tree.svg?width=650&height=150&src=pr&token=OZPO2LP7VS&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org)](https://codecov.io/gh/unistack-org/micro/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) ```diff @@ Coverage Diff @@ ## v3 #133 +/- ## ========================================== + Coverage 40.84% 40.97% +0.13% ========================================== Files 95 97 +2 Lines 8532 8785 +253 ========================================== + Hits 3485 3600 +115 - Misses 4730 4860 +130 - Partials 317 325 +8 ``` | [Impacted Files](https://codecov.io/gh/unistack-org/micro/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) | Coverage Δ | | |---|---|---| | [mtls/mtls.go](https://codecov.io/gh/unistack-org/micro/pull/133/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org#diff-bXRscy9tdGxzLmdv) | `43.52% <43.52%> (ø)` | | | [mtls/options.go](https://codecov.io/gh/unistack-org/micro/pull/133/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org#diff-bXRscy9vcHRpb25zLmdv) | `51.80% <51.80%> (ø)` | | | [network/transport/memory.go](https://codecov.io/gh/unistack-org/micro/pull/133/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org#diff-bmV0d29yay90cmFuc3BvcnQvbWVtb3J5Lmdv) | `70.55% <0.00%> (-1.23%)` | :arrow_down: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/unistack-org/micro/pull/133?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/unistack-org/micro/pull/133?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org). Last update [bb22b20...4a8f490](https://codecov.io/gh/unistack-org/micro/pull/133?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org).
github-code-scanning[bot] (Migrated from github.com) reviewed 2022-06-05 06:03:30 +03:00
github-code-scanning[bot] (Migrated from github.com) commented 2022-06-05 06:03:30 +03:00

Disabled TLS certificate check

InsecureSkipVerify should not be used in production code.

Show more details

## Disabled TLS certificate check InsecureSkipVerify should not be used in production code. [Show more details](https://github.com/unistack-org/micro/security/code-scanning/2)
github-actions[bot] (Migrated from github.com) reviewed 2022-06-27 00:18:31 +03:00
github-actions[bot] (Migrated from github.com) approved these changes 2022-06-27 00:20:24 +03:00
Sign in to join this conversation.
No description provided.