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

WinCrypt and Friends SSL Implementation #1135

Draft
wants to merge 66 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
fbf3eb0
mbedtls3 migration
Aidan63 Jun 15, 2024
b1b53da
Update src/hx/libs/ssl/SSL.cpp
Aidan63 Jun 16, 2024
be8cdf4
Update src/hx/libs/ssl/SSL.cpp
Aidan63 Jun 16, 2024
b4ee945
Update src/hx/libs/ssl/SSL.cpp
Aidan63 Jun 16, 2024
fe6ec81
try compiling mbedtls in its own files tag against a c std version
Aidan63 Jun 16, 2024
f2fe638
try setting the c flag on the ssl file group
Aidan63 Jun 16, 2024
7a28b88
It was worth a try
Aidan63 Jun 16, 2024
27bdee8
patch crypto headers
Aidan63 Jun 16, 2024
d23c320
unmask mysql service before starting
Aidan63 Jun 16, 2024
17e6116
Merge branch 'master' into mbedtls3
Aidan63 Jun 16, 2024
fc1541c
add c99 flag
Aidan63 Jun 17, 2024
d52a7c8
Merge branch 'master' into mbedtls3
Aidan63 Jun 17, 2024
8b2ffea
Merge branch 'master' into mbedtls3
Aidan63 Jun 25, 2024
2d36f87
schannel based cert
Aidan63 Jun 29, 2024
3848a54
digest function using CNG
Aidan63 Jun 29, 2024
cccbe07
loading private key
Aidan63 Jun 30, 2024
c2fdd7e
signing function
Aidan63 Jun 30, 2024
787aa58
public key loading
Aidan63 Jun 30, 2024
4378def
digest verify
Aidan63 Jun 30, 2024
be45fff
MBEDTLS_USER_CONFIG_FILE
Aidan63 Jul 1, 2024
6aea878
key decryption
Aidan63 Jul 2, 2024
ac50c71
start to split things into different files
Aidan63 Jul 5, 2024
098ba88
move lean and mean define
Aidan63 Jul 5, 2024
211380f
more splitting and gc free zones
Aidan63 Jul 5, 2024
388bd37
don't duplicate key decoding logic
Aidan63 Jul 5, 2024
96861cf
cert loading from string and more cert attribute string support
Aidan63 Jul 20, 2024
d754a34
correctly load rsa public keys
Aidan63 Jul 21, 2024
218bd99
initial next cert function
Aidan63 Jul 22, 2024
3117d75
Opt into mbedtls with HXCPP_USE_MBEDTLS
Aidan63 Jul 22, 2024
180b488
some cleanup
Aidan63 Jul 27, 2024
32fdb75
new xml setup
Aidan63 Jul 27, 2024
5ee1309
Merge branch 'master' into mbedtls3
Aidan63 Jul 27, 2024
889e23d
Fix files name
Aidan63 Jul 27, 2024
6e15219
update include path
Aidan63 Jul 27, 2024
bd8d8e2
Merge branch 'mbedtls3' into schannel
Aidan63 Jul 27, 2024
023613b
add ssl tests
Aidan63 Jul 27, 2024
b1f9366
update names
Aidan63 Jul 27, 2024
53ec37c
wchar_str buffer
Aidan63 Jul 28, 2024
443793e
initial ncrypt switch over
Aidan63 Aug 5, 2024
4129a14
private pkcs8 loading
Aidan63 Aug 5, 2024
f9d02cf
private rsa pkcs1
Aidan63 Aug 5, 2024
5c2a9e0
working hard coded encrypted key decryptor
Aidan63 Aug 6, 2024
07c2bd6
less hardcoded
Aidan63 Aug 6, 2024
c248237
working decryption
Aidan63 Aug 6, 2024
83246ed
switch digest to ncrypt
Aidan63 Aug 6, 2024
08db941
dont throw on not found subject and issuer names
Aidan63 Aug 6, 2024
ad1eece
Always provide padding info
Aidan63 Aug 6, 2024
ced99dd
handle cleanup
Aidan63 Aug 6, 2024
2239a04
PKCS1 padding
Aidan63 Aug 6, 2024
50c3361
Simplify round tripping
Aidan63 Aug 10, 2024
29db130
cng helper to reduce repetition
Aidan63 Aug 11, 2024
bdb8337
simplify getProperty
Aidan63 Aug 11, 2024
38c8b18
key loading uses new cng wrapper
Aidan63 Aug 17, 2024
55f1a8f
Add more tests
Aidan63 Aug 17, 2024
d48c35d
schannel handshake
Aidan63 Nov 21, 2024
4706697
Initial reading and writing
Aidan63 Nov 22, 2024
a04af73
better reading logic
Aidan63 Nov 22, 2024
d7ecbdb
reading debug prints
Aidan63 Nov 22, 2024
de54599
comment out printfs
Aidan63 Nov 23, 2024
e529a1d
working buffered reading
Aidan63 Nov 23, 2024
9b6f41d
move decrypted copying into the while loop
Aidan63 Nov 23, 2024
db00bf1
switch auto cred validation back on
Aidan63 Nov 23, 2024
c916a19
better buffer management
Aidan63 Nov 23, 2024
d6ef45d
give output buffers meaningful names
Aidan63 Nov 23, 2024
23e1c7c
shutdown
Aidan63 Nov 25, 2024
ca090a4
convert host string to wchar_t string once
Aidan63 Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
81 changes: 0 additions & 81 deletions project/thirdparty/Makefile

This file was deleted.

67 changes: 0 additions & 67 deletions project/thirdparty/mbedtls-2.28.2/.gitignore

This file was deleted.

92 changes: 0 additions & 92 deletions project/thirdparty/mbedtls-2.28.2/.travis.yml

This file was deleted.

76 changes: 0 additions & 76 deletions project/thirdparty/mbedtls-2.28.2/BRANCHES.md

This file was deleted.

Loading
Loading