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

Initial implementation #3

Merged
merged 79 commits into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
7131a90
init
stevefan1999-personal Sep 12, 2023
2e59abf
try to implement part 4
stevefan1999-personal Sep 12, 2023
945b172
add tokio
stevefan1999-personal Sep 12, 2023
c4320aa
gate tls12 behind features
stevefan1999-personal Sep 12, 2023
942cf9a
gate tls12 behind features
stevefan1999-personal Sep 12, 2023
9be11d6
use hyper-rustls for example
stevefan1999-personal Sep 13, 2023
1b697a7
fixup! use hyper-rustls for example
stevefan1999-personal Sep 14, 2023
2950637
update to track upstream rustls changes
stevefan1999-personal Sep 14, 2023
d167ae8
update to track upstream rustls changes
stevefan1999-personal Sep 14, 2023
2b81f39
split aead crpyto implementation into two
stevefan1999-personal Sep 14, 2023
e4dd2dd
remove AES-CCM
stevefan1999-personal Sep 14, 2023
31fce9a
bump version
stevefan1999-personal Sep 14, 2023
236ae4b
code cleanup
stevefan1999-personal Sep 14, 2023
c6131e6
explain why the payload splcing is done later in aead
stevefan1999-personal Sep 14, 2023
d0df582
fixup! explain why the payload splcing is done later in aead
stevefan1999-personal Sep 14, 2023
6914df4
format aead tag code
stevefan1999-personal Sep 14, 2023
fda279e
add supported cipher suites list
stevefan1999-personal Sep 14, 2023
0f6f46b
formatting the code
stevefan1999-personal Sep 14, 2023
6d20662
update const_concat_slices to use core
stevefan1999-personal Sep 14, 2023
fdd4629
split rustcrypto indirect dependencies to individual crates
stevefan1999-personal Sep 14, 2023
7a450eb
add client example
stevefan1999-personal Sep 14, 2023
d18cc8e
update const_concat_slices to not have the warning
stevefan1999-personal Sep 14, 2023
18a8fd3
add ed25519 verifier
stevefan1999-personal Sep 14, 2023
2b77fa7
fix build warnings without TLS1.2
stevefan1999-personal Sep 14, 2023
f9afca9
remove eyre
stevefan1999-personal Sep 14, 2023
9b0d215
add secp256r1 & secp384r1
stevefan1999-personal Sep 14, 2023
2767003
add xsmall example
stevefan1999-personal Sep 14, 2023
4dd5710
update manifest and gitignore
stevefan1999-personal Sep 14, 2023
db9b8c8
add NoopServerVerifier
stevefan1999-personal Sep 21, 2023
53f1a32
use the latest version of rustls in main rather than own fork
stevefan1999-personal Sep 21, 2023
ca912f4
revert to use panic rewind instead
stevefan1999-personal Sep 21, 2023
7eedc19
use cargo patches instead
stevefan1999-personal Sep 21, 2023
799b2ec
Merge branch 'part-4'
stevefan1999-personal Sep 21, 2023
6bdb6cf
remove vc-ltl from main crate but add it to example-xsmall
stevefan1999-personal Sep 21, 2023
cbe8395
add basic integration tests
stevefan1999-personal Sep 21, 2023
4d5f814
add more test cases
stevefan1999-personal Sep 21, 2023
e7dae3c
degeneralize some of the provider code using macro
stevefan1999-personal Sep 22, 2023
1a65fba
remove useless traits
stevefan1999-personal Sep 23, 2023
cf46d0d
Merge remote-tracking branch 'original/master'
stevefan1999-personal Sep 23, 2023
65e0fab
Merge remote-tracking branch 'original/master'
stevefan1999-personal Sep 23, 2023
b59bae9
update crate name
stevefan1999-personal Sep 23, 2023
b4682a7
remove unnecessary nightly feature
stevefan1999-personal Sep 23, 2023
753f8f4
bump crate version to 0.1.0
stevefan1999-personal Sep 23, 2023
624597c
remove unused NoopServerVerifier
stevefan1999-personal Sep 23, 2023
2043448
move some deps to dev and remove unused deps
stevefan1999-personal Sep 23, 2023
f862924
remove asm feature
stevefan1999-personal Sep 23, 2023
c97156b
don't span tokio dep across lines
stevefan1999-personal Sep 23, 2023
296eee5
add SEC1 and PKCS1 support for private key decoding
stevefan1999-personal Sep 23, 2023
b05a159
upgrade cargo dependencies
stevefan1999-personal Sep 23, 2023
1608227
split gcm implementation using macro
stevefan1999-personal Sep 23, 2023
188e612
rename aes-gcm implementation structs
stevefan1999-personal Sep 23, 2023
44f0104
apply clippy fixes and format
stevefan1999-personal Sep 23, 2023
5307bf9
remove EcdsaSigner in favor of generic solution
stevefan1999-personal Sep 23, 2023
dcd897f
remove no_std limitation but add clippy guard
stevefan1999-personal Sep 23, 2023
7c34859
use PhantomData instead
stevefan1999-personal Sep 23, 2023
07d2cb1
use upstream tokio-rustls instead of personal patch
stevefan1999-personal Sep 23, 2023
f19574c
reword README
stevefan1999-personal Sep 23, 2023
b7a89c2
add clarification for QUIC support
stevefan1999-personal Sep 23, 2023
7bd798a
mirror rustls for signer
stevefan1999-personal Sep 23, 2023
9468944
signer: fill up the remaining private key format
stevefan1999-personal Sep 23, 2023
d0c8b19
kx: remove Deref
stevefan1999-personal Sep 23, 2023
f6894b2
verify/ecdsa: use verify_prehash instead
stevefan1999-personal Sep 24, 2023
f29a1a0
fixup! verify/ecdsa: use verify_prehash instead
stevefan1999-personal Sep 24, 2023
af8a2bd
remove decode_spki_spk for now
stevefan1999-personal Nov 13, 2023
bc9cc29
updated to latest rustls changes
stevefan1999-personal Nov 16, 2023
18aa4af
update to track the latest changes to rustls and related crates
stevefan1999-personal Nov 17, 2023
4f8575e
Merge remote-tracking branch 'original/master'
stevefan1999-personal Nov 17, 2023
d766887
oops, final commit
stevefan1999-personal Nov 17, 2023
889da59
merging the chaos
stevefan1999-personal Nov 17, 2023
0e5b1ee
Merge remote-tracking branch 'original/master'
stevefan1999-personal Nov 17, 2023
56059bb
fix up the rest of the chaos
stevefan1999-personal Nov 17, 2023
4f8f9d0
pin alpha crates
stevefan1999-personal Nov 17, 2023
05c1c75
fix private key deserialization
stevefan1999-personal Nov 17, 2023
39e0381
ummmmm leetcode.com instead of leetcode.org
stevefan1999-personal Nov 17, 2023
158c27e
update some sites that are actually tls13
stevefan1999-personal Nov 18, 2023
9a8425c
update to the latest rustls change
stevefan1999-personal Nov 18, 2023
2ccdef3
reformat and prepare for future quic feature
stevefan1999-personal Nov 18, 2023
b8dee30
fixup! reformat and prepare for future quic feature
stevefan1999-personal Nov 18, 2023
2ba8ecf
fix update for rustls 0.22
stevefan1999-personal Dec 10, 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
Empty file added .clippy.toml
Empty file.
16 changes: 16 additions & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
edition = "2021"
force_multiline_blocks = true
format_code_in_doc_comments = true
format_macro_matchers = true
format_strings = true
group_imports = "StdExternalCrate"
imports_granularity = "Crate"
indent_style = "Block"
inline_attribute_width = 50
normalize_comments = true
reorder_impl_items = true
reorder_imports = true
struct_field_align_threshold = 50
struct_lit_single_line = true
use_field_init_shorthand = true
wrap_comments = true
Loading