-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add certificate and user/password authentication methods to ACL filte…
…rs (#1073) * adding test files * testing cert names * testing cert authn * adding basic authID functionality * remove secret files * add extensibility * add extensibility * add extensibility * adding type constraints * adding level abstraction for authentication info * adding username authentication * cleaning code * added cfg checks for auth_usrpwd * adding test files * fix error due to vsock * fix test error * access auth ids in acl interceptor * add authentication support in acl * added Subject * adding test files * add authn features with acl * remove error * add tests for tls and quic * add tests for user-password * remove format error * ignore tests without testfiles * remove shm test errors * remove typos * add testfiles for authn * fix testfiles for authn * Chore: Code format * Change port numbers to allow tests to run concurrently * Fix TLS and Quic test failures due to subsequent sessions on same port number * Format json configs * Remove unused deprecated dependency async-rustls * Chore: format list of cargo dependencies * Fix imports * Fix some styling and format * Fix feature usage * Remove unnecessary redefinition of RecvOpenSynOut * Remove unnecessary clones * Rewrite return value * Fix typo * Implement get_auth_ids for TransportUnicastLowlatency * Fix disabled access control for certain tests * Add lowlatency test * Remove unnecessary warnings * Check only if interfaces list is empty Other subject lists (usernames and cert_common_names) can be empty in the current config schema. * Merge branch 'dev/1.0.0' into authn/testing (squashed) * Move x509-parser dependency to workspace * Revert "Check only if interfaces list is empty" Misinterpreted the code logic when making this change. This reverts commit f4cc818. * Change LinkAuthIdBuilder to return Self instead of &mut Self * Add LinkAuthId::builder() * chore: Reorder tokio features * Add LinkAuthId::none() * Change LinkUnicastTrait.get_auth_identifier to return ref * Change get_cert_common_name(conn) parameter to ref * Add license header * Rename get_auth_identifier to get_auth_id * Rewrite unnecessary match blocs, add evaluation of get_interface_names_by_addr error * Use std::env::temp_dir() instead of hardcoded path in zenoh/authentication test * Change return type with auth_usrpwd feature * Lint test * Fix link-vsock implementation of get_auth_id * Fix authtests filepaths on Ubuntu * Update default config * Optimize collecting AuthIds from Links --------- Co-authored-by: snehilzs <[email protected]> Co-authored-by: snehilzs <[email protected]>
- Loading branch information
1 parent
6119670
commit 53276bc
Showing
31 changed files
with
2,051 additions
and
92 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.