Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bindings/s2n-tls): add ja-3 apis #4009

Merged
merged 32 commits into from
Jun 16, 2023
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4ddd06f
add fingerprint bindings
jmayclin May 4, 2023
de79ca8
add feature and initial client hello struct
jmayclin May 5, 2023
819c1a2
error handling and more test cases
jmayclin May 8, 2023
65d6041
switch to wrapper type implementation
jmayclin May 9, 2023
39d8f63
document safety assumptions and add doc test for borrow check
jmayclin May 10, 2023
0ff66be
clean up pair generation and add test case for io
jmayclin May 11, 2023
d96b0b1
make apis fallible
jmayclin May 11, 2023
83a8a97
remove autogenerated files from git repo
jmayclin May 11, 2023
1d47daf
gate behind feature flag
jmayclin May 11, 2023
5c0b7ae
add cargo test feature dry run with findgerprint
jmayclin May 11, 2023
2f62ffe
add debug impl
jmayclin May 16, 2023
01c2e59
cargo fmt and update ja3 comments
jmayclin May 16, 2023
1cb1856
add deref_mut_ptr method
jmayclin May 16, 2023
1055ca2
add positive example for doc test
jmayclin May 16, 2023
e9915a0
format with nightly toolchain
jmayclin May 16, 2023
532177d
make unstable headers visible
jmayclin May 16, 2023
c6f5026
PR feedback
jmayclin May 24, 2023
e4d0689
PR feedback
jmayclin May 24, 2023
d9e8ecf
Merge branch 'main' into ja-3-bindings
jmayclin May 25, 2023
794cdd1
update for necessary application changes after rebase
jmayclin May 25, 2023
545674a
remove unnecessary feature module
jmayclin May 25, 2023
f3a56e1
pr feedback
jmayclin May 25, 2023
97372f7
Update bindings/rust/s2n-tls/src/client_hello.rs
jmayclin May 31, 2023
8de0bfb
Update bindings/rust/s2n-tls/src/client_hello.rs
jmayclin May 31, 2023
f850c92
Address PR feedback
jmayclin May 31, 2023
b520dce
Update bindings/rust/s2n-tls/src/client_hello.rs
jmayclin May 31, 2023
3db016f
remove duplicate comments
jmayclin May 31, 2023
192eec3
Merge branch 'main' into ja-3-bindings
jmayclin Jun 6, 2023
6c98496
Merge branch 'main' into ja-3-bindings
jmayclin Jun 14, 2023
18b2f2e
PR feedback
jmayclin Jun 15, 2023
f0bfe29
Merge branch 'main' into ja-3-bindings
jmayclin Jun 15, 2023
9ea2a79
Merge branch 'main' into ja-3-bindings
jmayclin Jun 15, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/ci_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Tests
working-directory: ${{env.ROOT_PATH}}
run: cargo test
run: cargo test --all-features

- name: Test external build
# if this test is failing, make sure that api headers are appropriately
Expand Down
9 changes: 6 additions & 3 deletions bindings/rust/s2n-tls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ license = "Apache-2.0"

[features]
default = []
unstable-fingerprint = ["s2n-tls-sys/unstable-fingerprint"]
quic = ["s2n-tls-sys/quic"]
lrstewart marked this conversation as resolved.
Show resolved Hide resolved
pq = ["s2n-tls-sys/pq"]
testing = ["bytes"]
Expand All @@ -20,9 +21,11 @@ errno = { version = "0.3" }
libc = "0.2"
s2n-tls-sys = { version = "=0.0.31", path = "../s2n-tls-sys", features = ["internal"] }
pin-project-lite = "0.2"
hex = "0.4"

[dev-dependencies]
bytes = { version = "1" }
bytes = "1"
futures-test = "0.3"
openssl = { version = "0.10" }
temp-env = { version = "0.3" }
openssl = "0.10"
temp-env = "0.3"
checkers = "0.6"
Loading