Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
e188d6a
wip: layout
olix0r Nov 1, 2021
05a4f53
wip
olix0r Nov 1, 2021
00c2dba
wip
olix0r Nov 2, 2021
4fa0cc5
wip
olix0r Nov 2, 2021
8e24034
sketch out boring initialization
olix0r Nov 2, 2021
f2d9ab8
rename crates: identity-default => identity-rustls-meshtls
olix0r Nov 2, 2021
b9b41c8
add cmake to actions
olix0r Nov 2, 2021
c31ca52
more deps. yay.
olix0r Nov 2, 2021
ead49f8
+deny
olix0r Nov 2, 2021
fe0ed29
wip: client compiles
olix0r Nov 2, 2021
6742b52
+ServerIo
olix0r Nov 2, 2021
4bbbeb7
Address warnings
olix0r Nov 2, 2021
fc452e4
Add ALPN todo
olix0r Nov 2, 2021
c6721ea
Get the facade compiling
olix0r Nov 2, 2021
08b44ae
+ServerIo
olix0r Nov 3, 2021
e4d2f2a
Move union types into the meshtls crate
olix0r Nov 3, 2021
8bb531f
Move rustls and boring modules under mtls
olix0r Nov 3, 2021
bc38ee3
Split meshtls crate into multiple modules
olix0r Nov 3, 2021
0bd1104
fixup tokio features
olix0r Nov 3, 2021
ed875aa
Merge branch 'main' into ver/boring
olix0r Nov 3, 2021
56da589
fixup fuzzer
olix0r Nov 3, 2021
5ffc10b
Introduce `meshtls` facade to hide rustls crate
olix0r Nov 1, 2021
9a35243
Merge branch 'ver/boring-minus-boring' into ver/boring
olix0r Nov 3, 2021
8c051cb
Merge branch 'main' into ver/boring
olix0r Nov 3, 2021
5c1f34f
cleanup task type imports
olix0r Nov 4, 2021
6e35ad9
Add an ALPN serializer
olix0r Nov 4, 2021
da4a29c
fixup compilation
olix0r Nov 4, 2021
79af20a
avoid needless constraints by using an obtuse error message with hand…
olix0r Nov 4, 2021
420b717
more inline, less contraints
olix0r Nov 4, 2021
5214f40
Merge branch 'main' into ver/boring
olix0r Nov 5, 2021
0e482bc
Merge branch 'main' into ver/boring
olix0r Nov 5, 2021
730bc15
touchup alpn encoding, tests
olix0r Nov 5, 2021
88e5cf0
Support a set of trust roots
olix0r Nov 5, 2021
cbf2279
fixup! Support a set of trust roots
olix0r Nov 5, 2021
4fe82b2
nit
olix0r Nov 5, 2021
4e12638
configure the initial connector with the trust roots
olix0r Nov 5, 2021
d578b2e
comments
olix0r Nov 5, 2021
dbcc58c
Merge branch 'main' into ver/boring
olix0r Nov 5, 2021
20b75a6
Merge branch 'main' into ver/boring
olix0r Nov 5, 2021
4be2403
Create a separate boring CI workflow
olix0r Nov 5, 2021
d1a777f
fixup! Create a separate boring CI workflow
olix0r Nov 5, 2021
6dde3d5
fixup! fixup! Create a separate boring CI workflow
olix0r Nov 5, 2021
3a86113
fmt
olix0r Nov 6, 2021
1f15b4a
use working-directory
olix0r Nov 6, 2021
6ce6be0
fixup boringdirectory
olix0r Nov 6, 2021
5418539
Update dockerfile to support boring when the feature is enabled
olix0r Nov 6, 2021
cf51441
avoid panicking on ALPN initialization (for testing)
olix0r Nov 6, 2021
88c32bd
Add support for ALPN
olix0r Nov 6, 2021
3a72cfb
Improve ALPN encoding to skip empty protocols
olix0r Nov 6, 2021
9a40d31
lints
olix0r Nov 6, 2021
9ba4e4c
Restore rustls credential tests
olix0r Nov 6, 2021
c44b878
+warnings
olix0r Nov 6, 2021
b1a0554
Merge branch 'ver/rustls-tests' into ver/boring
olix0r Nov 6, 2021
19130d4
Replicate credential tests for boring
olix0r Nov 6, 2021
2e3870a
Instrument TLS tests
olix0r Nov 7, 2021
4525811
Merge branch 'main' into ver/boring
olix0r Nov 7, 2021
96303ee
clippay
olix0r Nov 7, 2021
1d148d2
cleanup fingerprint formatting
olix0r Nov 7, 2021
d9cf0e2
bump hex
olix0r Nov 7, 2021
8290c7c
simplify fingerprint
olix0r Nov 7, 2021
53604b1
more simplify
olix0r Nov 7, 2021
be87e63
docs, tls versions, mode::from_str
olix0r Nov 7, 2021
5796529
Mode::from_str case-agnostic
olix0r Nov 7, 2021
8e656c7
tls tests
olix0r Nov 7, 2021
36bcff1
unify tests in the meshtls crate, testing the feature flags
olix0r Nov 8, 2021
21e002a
Split out tests even more
olix0r Nov 8, 2021
b444a1e
fix docs
olix0r Nov 8, 2021
3b02e06
fixup! Split out tests even more
olix0r Nov 8, 2021
c7c8f60
-all
olix0r Nov 8, 2021
87f1cda
move boring tests into test-meshtls
olix0r Nov 8, 2021
f431aa0
test boring + rustls crates as well
olix0r Nov 8, 2021
7cd131a
Fixup meshtls test clippy
olix0r Nov 8, 2021
da122a5
split workflows into slow and fast
olix0r Nov 8, 2021
34ab67a
omit deps in docs
olix0r Nov 8, 2021
316f20d
combine docs with clippy
olix0r Nov 8, 2021
30fbe6b
fixup! combine docs with clippy
olix0r Nov 8, 2021
e505803
split docs check
olix0r Nov 8, 2021
1c481c4
build docs with tests
olix0r Nov 8, 2021
c44790b
avoid building app-test in fast build
olix0r Nov 8, 2021
db9210d
go back to separate docs job
olix0r Nov 8, 2021
5028ebb
release build should actually set --release
olix0r Nov 8, 2021
d6fdd85
Merge branch 'main' into ver/boring
olix0r Nov 8, 2021
1445c0c
restore deps tests
olix0r Nov 8, 2021
fdad3e7
ws
olix0r Nov 8, 2021
2ecfdf9
test timeouts
olix0r Nov 8, 2021
9b5e53b
undo needless changes
olix0r Nov 8, 2021
3dbc316
fixup boring dev deps
olix0r Nov 8, 2021
cc50fa1
back-out needless change to slow.yml
olix0r Nov 8, 2021
53dfd06
back-out needless change to fast.yml
olix0r Nov 8, 2021
92d4eb9
wrap comments more tightly
olix0r Nov 8, 2021
eb77991
back-out rustls changes in favor of #1367
olix0r Nov 8, 2021
5716f5c
-dead_code
olix0r Nov 8, 2021
466fd6d
meshtls: Add a `boring` backend
olix0r Nov 8, 2021
845bd7f
needless match
olix0r Nov 8, 2021
1d3227f
let with_alpn clear alpn protocols as well
olix0r Nov 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- run: rustup component add clippy
- run: cargo clippy --all
- run: cargo clippy --all --exclude=linkerd-meshtls-boring

# Enforce automated formatting.
check-fmt:
Expand All @@ -48,6 +48,7 @@ jobs:
- run: |
cargo doc --all --no-deps \
--exclude=linkerd-meshtls \
--exclude=linkerd-meshtls-boring \
--exclude=linkerd-meshtls-rustls

# Test the meshtls backends.
Expand All @@ -57,6 +58,7 @@ jobs:
container:
image: docker://rust:1.56.0-buster
steps:
- run: apt update && apt install -y cmake clang golang # for boring
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- working-directory: ./linkerd/meshtls
run: cargo test --all-features --no-run
Expand All @@ -65,16 +67,23 @@ jobs:
- working-directory: ./linkerd/meshtls
run: |
cargo test --no-run \
--package=linkerd-meshtls-boring \
--package=linkerd-meshtls-rustls
- working-directory: ./linkerd/meshtls
run: |
cargo test \
--package=linkerd-meshtls-boring \
--package=linkerd-meshtls-rustls
- working-directory: linkerd/meshtls
run: |
cargo doc --all-features --no-deps \
--package=linkerd-meshtls \
--package=linkerd-meshtls-boring \
--package=linkerd-meshtls-rustls
# Run clippy on the boring components while we have the dependencies installed.
- run: rustup component add clippy
- working-directory: linkerd/meshtls
run: cargo clippy --features=boring --all-targets

# Run non-integration tests. This should be quick.
test-unit:
Expand All @@ -95,6 +104,7 @@ jobs:
--exclude=linkerd-app-outbound \
--exclude=linkerd-app-test \
--exclude=linkerd-meshtls \
--exclude=linkerd-meshtls-boring \
--exclude=linkerd-meshtls-rustls \
--exclude=linkerd2-proxy
- run: |
Expand All @@ -108,6 +118,7 @@ jobs:
--exclude=linkerd-app-outbound \
--exclude=linkerd-app-test \
--exclude=linkerd-meshtls \
--exclude=linkerd-meshtls-boring \
--exclude=linkerd-meshtls-rustls \
--exclude=linkerd2-proxy

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/slow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- run: |
for toml in $(find . -mindepth 2 \
-not -path '*/fuzz/*' \
-not -path './linkerd/meshtls/boring/*' \
-name Cargo.toml \
| sort -r)
do
Expand Down
Loading