Commit b0993c7
fix(auth): Delegate workload cert and key default lookup to helper function (#1877)
get_client_ssl_credentials had a bug that defaulted the cert path to
CERTIFICATE_CONFIGURATION_DEFAULT_PATH if not explicitly specified. The
correct behavior should be to delegate the lookup logic to
"_get_workload_cert_and_key" which also takes into account the cert
config path set by the env var GOOGLE_API_CERTIFICATE_CONFIG.
---------
Co-authored-by: Daniel Sanche <d.sanche14@gmail.com>1 parent 2c374d3 commit b0993c7
File tree
2 files changed
+17
-9
lines changed- google/auth/transport
- tests/transport
2 files changed
+17
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
316 | 313 | | |
317 | 314 | | |
318 | 315 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
337 | 340 | | |
338 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
339 | 344 | | |
| 345 | + | |
340 | 346 | | |
341 | 347 | | |
342 | 348 | | |
| |||
395 | 401 | | |
396 | 402 | | |
397 | 403 | | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
398 | 407 | | |
399 | 408 | | |
| 409 | + | |
400 | 410 | | |
401 | 411 | | |
402 | 412 | | |
403 | 413 | | |
| 414 | + | |
404 | 415 | | |
405 | 416 | | |
406 | 417 | | |
| |||
0 commit comments