-
Notifications
You must be signed in to change notification settings - Fork 1
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: Socket authenticators and data transformers #4
feat: Socket authenticators and data transformers #4
Conversation
…ge response while keeping socket_connector package generic.
docs: improved class doc for SocketAuthenticator
…ble implementations and the changes in the test to uptake it.
…e non-future value because of possible race condition
…etAuthenticator to SocketAuthVerifier
…ds to write to them in order to validate them self
chore: run dart format
refactor: removed dup code
refactor: inlined _onData method and removed it
refactor: inlined _onData method and removed it
style: dan dart format
- made `verbose` an instance variable - made `print`s into `stderr.writeln`s - wrapped `writeln`s in `if (verbose)` blocks
CHANGELOG.md
Outdated
@@ -1,3 +1,11 @@ | |||
## 1.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't we looking at a major version change? The SocketConnector class had breaking changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated version and CHANGELOG for 2.0.0 in this commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, my only additional feedback is that we think about disabling the logTraffic flag, and only enabling it with a debug flag, like with our debug build for sshrvd, however maybe not, because this is a library.
style: ran dart format
…of the class `Side` fix: fixed the transformer logic
@XavierChanth @VJag @cconstab I think this is good to go, please review again - main thing to look at since last time is the additions to the test pack. Still marked as draft because I still need to update the main README before the new version is published |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay farside
- What I did
app-defined way before they will be connected to the other side
transform the data while sending from A to B, and vice versa. Useful for
adding traffic encryption, for example.
- How I did it
- How to verify it