Commit Graph

115 Commits

Author SHA1 Message Date
Moiz Haidry 4c5ee108da Addressed Yang's comments, I have removed usage of const throughout for consistency 2020-02-26 14:14:33 -08:00
Moiz Haidry ede2ffc1a8 Addressed Mark's comments 2020-02-26 12:51:35 -08:00
Moiz Haidry 67565b767d CallCredentials debug string API 2020-02-25 16:09:03 -08:00
Matthew Stevenson 924aace7dc Version 4. 2020-02-06 08:51:41 -08:00
matthewstevenson88 ee7ae056e5
Revert "Updates to TLS credentials, version 3" 2020-02-05 13:52:46 -08:00
Matthew Stevenson f557437b51 Add back changes. 2020-01-30 15:26:51 -08:00
matthewstevenson88 9e0b87f523
Revert "Updates to TLS credentials, version 2" 2020-01-29 12:24:21 -08:00
Matthew Stevenson e18defc303 Fix attempt #2. 2020-01-27 12:47:32 -08:00
matthewstevenson88 26d50f726a
Revert "Collect TLS-specific changes from PR 20568." 2020-01-23 12:34:43 -08:00
Matthew Stevenson 5cfff04ce9 Collect TLS-specific changes from PR 2-568. 2020-01-22 13:06:22 -08:00
Yihua Zhang c8c284ed3a merge with upstream/master 2020-01-07 15:33:26 -08:00
Yihua Zhang e10d90ba27 add security level negotiation between call creds and channel. 2020-01-06 11:40:27 -08:00
Akshay Kumar db11b94f25 FullChainExperimental-01-200103 2020-01-03 22:37:18 -08:00
Zhen Lian 618771dc6a [Exposing ALTS Context 2/2] Utility Wrapper Class
This PR contains:

1. An ALTS context exposed for users to use, and a GetAltsContextFromAuthContext() function to get ALTS context from an AuthContext. Functionality-wise this part is similar with a previous PR https://github.com/grpc/grpc/pull/21536, but in this PR, we adjusted the code structure and made some minor changes to better suit function clientAuthzCheck()
2. A clientAuthzCheck() function for users to check if the server is authorized
2020-01-03 09:30:46 -08:00
Vijay Pai 500b0e6d8e Remove unused parameter warnings from include/ and src/core 2019-10-16 13:31:51 -07:00
Matthew Stevenson 00cce90adf Changes requested by Yihua. 2019-10-01 16:06:01 -07:00
Matthew Stevenson fba2fc2dba Fourth 2019-09-27 14:30:49 -07:00
Matthew Stevenson d866d09b5c Second round of small changes from e2e tests. 2019-09-26 21:26:57 -07:00
Matthew Stevenson a7f9d943d5 First set of small changes from development of e2e tests. 2019-09-26 18:13:59 -07:00
Matthew Stevenson 10a39b77c6 Implemented changes outlined in addendum to design doc. 2019-09-25 10:46:13 -07:00
Matthew Stevenson 5639867c2b Clang changes. 2019-09-20 16:09:32 -07:00
Matthew Stevenson 8e09d8745d Implementing further comments by Yang. 2019-09-20 16:01:10 -07:00
Matthew Stevenson 0a054cc6ea Implementing Yang's secound round of comments. 2019-09-20 08:59:34 -07:00
Matthew Stevenson 96c24347f7 Refactored the configs, per Yang's suggestions. 2019-09-19 11:36:37 -07:00
Matthew Stevenson eafaf13083 Another small build fix. 2019-09-18 15:22:56 -07:00
Matthew Stevenson 65c9ece139 Forgot to run clang_format after previous build changes. 2019-09-18 15:00:37 -07:00
Matthew Stevenson 78e27bc141 Another attempt at fixing build issue. 2019-09-18 13:32:53 -07:00
Matthew Stevenson 43f9058565 Changed include orders to remove dependency of grpc++_base_unsecure library on grpc_security.h. 2019-09-18 11:26:50 -07:00
Matthew Stevenson a300865dd2 Merge remote-tracking branch 'upstream/master' into spiffe1 2019-09-16 10:43:55 -07:00
Matthew Stevenson ff9697acd7 Changed SPIFFE credentials naming to TLS credentials, per Jiangtao's comments. 2019-09-03 10:50:37 -07:00
Matthew Stevenson 82cbe22532 Added comments in tls_credentials_options.h, per Yihua's comment. 2019-09-03 09:06:23 -07:00
Matthew Stevenson 99058a2f09 Implemented Yihua's proposed changes from Aug 29 2019-08-30 08:57:55 -07:00
Matthew Stevenson 9457917ed1 Autogenerated files and clang format/tidy code 2019-08-27 15:19:43 -07:00
Matthew Stevenson c942282abc Implemented Yihua's review comments 2019-08-27 14:57:02 -07:00
Matthew Stevenson 86f52e312a More work with memory leaks 2019-08-26 15:37:10 -07:00
Matthew Stevenson 333cd930c3 Removed old Arg constructors as comments. 2019-08-26 14:59:32 -07:00
Matthew Stevenson 5d9297d0bc Fixed some memory leaks 2019-08-26 14:31:16 -07:00
Matthew Stevenson c2fd3844dc Implemented Yihua's comments 2019-08-23 16:20:19 -07:00
Matthew Stevenson 967b911f85 Add forgotten callback function for server authorization check. 2019-08-21 09:08:15 -07:00
Matthew Stevenson 6189d34724 Revert "Forgot to autogenerate files and run clang_format/tidy_code"
This reverts commit 9295e4ebb3.
2019-08-20 14:50:35 -07:00
Matthew Stevenson 9295e4ebb3 Forgot to autogenerate files and run clang_format/tidy_code 2019-08-20 14:41:38 -07:00
Matthew Stevenson 52b72c00f1 Debugging after restores 2019-08-20 14:23:08 -07:00
Matthew Stevenson 853f95a7d5 Add files to previous restore commit 2019-08-20 13:48:23 -07:00
Matthew Stevenson 791e9ffa32 Restored tls_credentials_options.h 2019-08-20 13:05:36 -07:00
Matthew Stevenson 1e46b38d66 Hid some key materials API's and refactored credential reload arg wrapper. 2019-08-14 13:11:27 -07:00
Matthew Stevenson f3f8bf05b2 Fix conflicts with ssl_utils.h 2019-08-13 12:18:31 -07:00
Matthew Stevenson 094c35f872 Small changes to ssl_util.h, added comments, fixed error in key materials unit test 2019-08-08 22:54:06 -07:00
Matthew Stevenson aa207510ce Finished implementation of API's. 2019-08-07 15:53:26 -07:00
Matthew Stevenson 5980d0d10d Added unit tests and fixed some build problems 2019-08-02 09:38:35 -07:00
Matthew Stevenson 5da4baa80d Fixed typo in define guard 2019-08-01 08:55:36 -07:00