-
Notifications
You must be signed in to change notification settings - Fork 24
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
Basic authentication using HMAC for federates joining a federation #105
Merged
Changes from 45 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
544adc7
Add OpenSSL dependency in CMake.
hokeun fca0264
Add new message types for HMAC-authenticated in joining federation.
hokeun 73f6b6a
Add code for sending RTI hello.
hokeun 811b457
Add code for performing HMAC authentication on federate's side.
hokeun f83f58a
Merge branch 'main' of https://github.com/lf-lang/reactor-c into secu…
hokeun af769f3
Fixed typos
a17c5d3
Added HMAC check protocol demo
Jakio815 5d88b51
Fixed some typos
Jakio815 54c9c25
Changed protocol to include msg type & federate ID when creating HMAC…
Jakio815 ae31ef0
HMAC authentication finished. For build, CCmakeGenerator.java must be…
Jakio815 b424053
Add auth options in RTI_instance as bool type is_auth.
Jakio815 9cdc725
Fixed bug on RTI -a option
Jakio815 33bb32c
HMAC authorization only happens when FEDERATED_AUTH state
Jakio815 4da4fd8
RTI now optionally includes openssl with cmake option -DAUTH=ON
Jakio815 8f9792a
Merge branch 'main' into security
Jakio815 f866768
Update comments and make definition for federate authentication more …
hokeun ce27076
Update complier definition and comments.
hokeun f74bb5e
Make variable and parameter names more descriptive, separate #include…
hokeun 6a23b50
Make RTI more robust so that it does not die when authentication fails.
hokeun 968caca
Add comments for authentication messages.
hokeun ac904a7
Use more standard way to get required buffer length and encoding fed …
hokeun e4853d7
Add error handling for HMAC function.
hokeun 2a3e39f
Remove unused message type.
hokeun c68b2fd
Move ifdef dependencies to top & Add comments.
Jakio815 d168550
Minory fixes, not finished
Jakio815 129e866
Merge branch 'main' of github.com:lf-lang/reactor-c into security
Jakio815 9354daa
Added comments
Jakio815 4f17f20
Added SHA256_HMAC_LENGTH & only print error not exit when wrong messa…
Jakio815 ea507c2
Merge branch 'main' of github.com:lf-lang/reactor-c into security
Jakio815 d6fc5ba
Updated lf-lang/lingua-franca version
Jakio815 4cea135
Update lingua-franca-ref.txt
8ed5649
Update lingua-franca-ref.txt
83491bf
Update linguq-franca-ref.txt
4ece789
Temporarily change ci test
e3352f0
Temporarily change ci test branch to auth
75d0f13
Update lingua-frnaca-ref.txt version
5dfbb52
Update lingua-franca-ref.txt
58a0c4c
Update lingua-franca.txt
5b80211
Update lingua-franca-ref.txt
268260f
Update lingua-franca-ref.txt
491cccc
Update lingua-franca-ref.txt
c10629b
More specific data types for Cpp compilers
78911bc
Restore ci test
0cfbcd7
Restore ci test
3254e8c
Updated lingua-franca.txt
d06c6ff
Fixed from MSG_TYPE_RTI_HELLO to MSG_TYPE_RTI_NONCE
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
These changes are only for CI tests.