Commit e2fd685
Support Authentication with SCRAM (#26)
* auth message parsing and scrambling
* extract handler into module
* add require_tls option to server config
* read_message_with_timeout
* PasswordMessage and SASLinitialresponse
* Passthrough SCRAM_SHA_256 auth
* add postgres-protocol
* Pull log into module
* Add dev option to disable database tls
* remove unused tests
* rename dataset to encrypt_config
* rename test config files to disambiguate
* add channel binding to tlsconfig on init
* Improve error message on db connect failure
* channelbinding for asyncstream
* Auth module & SASL messages
* read_auth_message
* cleanup
* SASL & MD5 Auth actually working
* Do not require_tls by default
* Handle database Md5 and cleartext auth
* disable mapping
* SASLMechanism as enum
* log targets
* Use correct sasl mechanism
* updated cargo
* Cleanup
* psql tests
* Maybe integration tests
* README on int tests
* Ignore cipherstash-proxy.local.toml
* just enough shutdown for tests
* attempt integration test in ci
* clippy cleanup
* Filter integration tests
* Install latest stable rust
* Explain what this config is for
* Bump to latest mise, in attempt to work around bug
* Do something unholy to make the command execute correctly
* Fix use ordering to satisfy the `cargo fmt` gods
* Move the test tasks to a more discoverable place
* Explicitly call nextest tests unit tests
* Run the integration tests as part of the CI tests
* option to disable mapping
* More logging
* Fix bug introduced by bad merge conflict
* Add a task for testing if Proxy has started
* Make nc work on GNU-based systems
* Try and determine if the wait is working
* Report when successful
* Disable running up a container
Because we do that later in the integration tests
* Test for the right port t 🤦
* wtf is going on
* GitHub: tell me how can you fuck up a loop
* Remove debugging. Fuck you GitHub
* setup proxy env from secrets
* setup proxy env from secrets
* un-silent proxy run in tests
* Install rust via mise
* more clippy
---------
Co-authored-by: Lindsay Holmwood <[email protected]>
Co-authored-by: Lindsay Holmwood <[email protected]>1 parent dacfd84 commit e2fd685
File tree
43 files changed
+1791
-321
lines changed- .github/workflows
- .mise/tasks/test
- packages/cipherstash-proxy
- src
- config
- connect
- encrypt
- postgresql
- messages
- authentication
- tls
- tests
- config
- tests
- tasks/test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+1791
-321
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | | - | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | | - | |
30 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments