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

Authenticated endpoint #51

Merged
merged 5 commits into from
Oct 4, 2018
Merged

Authenticated endpoint #51

merged 5 commits into from
Oct 4, 2018

Conversation

vu3rdd
Copy link
Contributor

@vu3rdd vu3rdd commented Oct 4, 2018

New functions establishSenderTransit and establishReceiverTransit that gives us an "authenticated" endpoint that has already done the handshake with the peer and has established keys.

With these two functions, we refactor the file transfer.

An unfortunate result of this refactor is that large portions of code was moved around and split. The resulting sendFile and receiveFile functions are much smaller and a bit more readable than it was before.


This change is Reviewable

Copy link
Contributor

@exarkun exarkun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! :lgtm: -review-needed

Reviewed 5 of 5 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@vu3rdd vu3rdd merged commit bf62983 into master Oct 4, 2018
@vu3rdd vu3rdd deleted the authenticated-socket branch October 4, 2018 13:59
@vu3rdd vu3rdd restored the authenticated-socket branch October 4, 2018 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants