Commit Graph

455 Commits

Author SHA1 Message Date
Yang Gao 56972ae715
Merge pull request #21648 from yang-g/init_first
InitGoogleTest before grpc_init
2020-01-14 15:07:37 -08:00
yang-g 5bc57b64fe InitGoogleTest before grpc_init 2020-01-14 13:29:15 -08:00
Julien Boeuf 323e23a7c5 Fix STS credentials to ignore empty actor token path. 2020-01-13 11:24:15 -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
Yihua Zhang a6dbc7adb5 rename spiffe to tls 2019-12-05 16:03:37 -08:00
Juanli Shen 2693d34c30 Make StringView cmp compatible with absl 2019-12-03 13:47:12 -08:00
jboeuf 7fa653dbfb
Merge pull request #21277 from jboeuf/sts_creds_fix
Fixing bug where subject token was used instead of the actor token.
2019-11-27 11:30:49 -08:00
Jan Tattermusch 13843be76e
fix type 2019-11-26 21:07:42 +01:00
Jan Tattermusch eb137ea519 clang format 2019-11-25 07:46:05 -05:00
Jan Tattermusch 04796c8ccb fix //test/core/security:credentials_test under local bazel run 2019-11-25 13:37:57 +01:00
Julien Boeuf cedf76ee9a Fixing bug where subject token was used instead of the actor token. 2019-11-22 15:23:00 -08:00
ZhenLian 0748d57de3
Merge pull request #20873 from ZhenLian/zhen_design_writeup_3
[Exposing ALTS Context 1/2] Fill in context on TSI and Security Connector Layer
2019-11-08 08:54:04 -08:00
Esun Kim e45b60d1fe Fix unique_ptr<char> memory allocation mismatch 2019-11-07 17:53:59 -08:00
Zhen Lian ddf565db33 running clang-format -i on each modified files 2019-11-07 13:13:42 -08:00
Esun Kim b2b7fc9af8 Replaced grpc_core::UniquePtr with std::unique_ptr 2019-11-07 13:05:39 -08:00
Esun Kim 3a519a0b64 Replaced grpc_core New & Delete with C++ new & delete 2019-11-06 17:52:26 -08:00
Esun Kim de81f120b2 Abseilify StringView 2019-11-06 10:58:03 -08:00
Lidi Zheng c34bef4ca4 Format all Bazel files with buildifier 2019-11-05 14:03:52 -08:00
Yash Tibrewal 4b31415e61
Merge pull request #20892 from yashykt/removsched
Replace GRPC_CLOSURE_SCHED with ExecCtx::Run
2019-11-05 10:48:12 -08:00
Esun Kim 81df105ac8 Deprecate gpr_get/set_allocation_functions 2019-11-04 19:47:33 -08:00
Yash Tibrewal 3a189d7e08 test changes 2019-10-31 17:09:38 -07:00
Zhen Lian e8d570618e [Exposing ALTS Context 1/2] Fill in context on TSI and Security Connector Layer 2019-10-30 13:39:52 -07:00
Vijay Pai e0fdf40e9d
Merge pull request #20700 from vjpai/more_cpp_warning_removals_201910210916_17
Remove unused-parameter warnings, round 2 (17 of 19)
2019-10-28 11:26:58 -07:00
Jiangtao Li 57818b0d02
Merge pull request #20565 from coryan/fix-issue-16872
bug: remove racy code to detect GCE on Windows
2019-10-24 15:39:02 -07:00
Vijay Pai 2477b966e2 Remove unused-parameter warnings, round 2 (17 of 19) 2019-10-24 13:08:35 -07:00
Carlos O'Ryan 2144c719fc
Run clang_format_all_the_things.sh 2019-10-24 13:24:33 -04:00
Vijay Pai be6911d1d2
Merge pull request #20650 from vjpai/remove_warn_11
Remove unused parameter warnings (11 of 20)
2019-10-18 10:13:50 -07:00
Vijay Pai fb682f8c6e clang-format 2019-10-17 09:06:28 -07:00
Vijay Pai c3faf1c3b8 Remove unused parameter warning (12 of 20) 2019-10-17 08:51:34 -07:00
Vijay Pai 8ff71276f5 Remove unused parameter warning (11 of 20) 2019-10-17 08:51:29 -07:00
Carlos O'Ryan b3c4c49e36 bug: remove racy code to detect GCE on Windows
The code used to detect if a program was running on Windows by launching
a powershell script (which requires powershell to be installed), writing
the output to a file with a fixed name (which requires write permissions
in the local directory), and then reading the file (which may have
changed), and then deleting it (which may fail and introduces a race
with any other program running in the same directory).

This version reads a key from the Windows registry. That could fail if
the application does not have permissions to read the registry, but at
least does not crash when it does, and it is not inheritently racy.
2019-10-10 18:51:10 +00:00
yihuaz 6c2eb034f7
Merge pull request #20412 from yihuazhang/socket_mutator
Update grpc_ssl_peer_to_auth_context() to take in transport security type as a parameter
2019-10-02 11:25:12 -07:00
Yihua Zhang 9be983d40b fix tests. 2019-09-30 14:04:52 -07:00
Jan Tattermusch 8e79705d29 disable fuzzers on windows 2019-09-30 13:28:01 +02:00
Jan Tattermusch e682b32340 fixup core uses-polling 2019-09-30 13:27:58 +02:00
Jan Tattermusch 068340381f add uses_polling=False to selected core tests 2019-09-30 13:27:58 +02:00
Jan Tattermusch 6ebc1c616f set uses_polling=False for some bazel tests 2019-09-24 09:50:00 +02:00
Soheil Hassas Yeganeh 9b9764cb2a Fix build error in SSL fuzzer. 2019-09-16 15:10:02 -04:00
Hope Casey-Allen 59564ebd96 Fix warnings to unblock gcc8 support 2019-08-20 16:02:53 -07:00
Yihua Zhang ae863630d5 Add spiffe client-side credential reload 2019-08-12 14:12:13 -07:00
Alexander Polcyn 609107586a Add a way for tests with LeakDetector to free the control plane creds map 2019-07-22 20:40:34 -07:00
Alexander Polcyn 6898c23a5d Add experimental control plane creds C-core API 2019-07-22 16:03:02 -07:00
Julien Boeuf 109edca971 Adding C++ API and implementation for STS credentials:
- marked as experimental.
- also changed the name of a field in the options struct.
2019-07-09 22:28:44 -07:00
Soheil Hassas Yeganeh 39e982a263
Merge pull request #19488 from soheilhy/string-view2
Introduce string_view and use it for gpr_split_host_port
2019-07-01 13:53:16 -04:00
Yang Gao a0e76c0300
Merge pull request #19484 from yang-g/oauth
Update oauth2 token endpoints
2019-06-28 09:50:04 -07:00
Soheil Hassas Yeganeh ea63c00d38 Revert "Fix build failure in credential_test.cc"
This reverts commit dc858eea25.
2019-06-27 20:56:15 -04:00
Soheil Hassas Yeganeh dc858eea25 Fix build failure in credential_test.cc 2019-06-27 14:19:15 -04:00
yang-g 7a4b6b7e30 Update oauth2 token endpoints 2019-06-26 15:02:19 -07:00