Repository navigation
Commit 989d5e3
[cloudfront] Upgrade sign command: ECDSA, SHA-256, wildcard policies, input validation (#10716)
* Support ecdsa cloudfront
* Add CloudFront URL sign command and refactor signing logic
* Add URL sign functional test suite and test key files
* Add changelog entries for CloudFront sign
* Refactor CloudFront sign validation and improve backward compat
* Remove strict validation for CloudFront sign command inputs for backward compatability
* Add input validation and wildcard support for sign command
* Refactor date parsing, add key validation and sign tests
* Simplify sign validation and consolidate sign changelog entries
* Fix sign.py: add AwsCrtError import, remove extra _validate_signing_args, restore SHA1 error handling
* Fix test_sign.py: update mock paths to cloudfront.sign module, trim TestSignBackwardCompatibility
* Move sign-cookies botocore method and cookie tests to feat-cloudfront-cookies
* Move PEM-leak tests to feat-log-redaction
* Address comment: remove left over from splitting PRs
* Address comment: drop signed cookie wording from CloudFrontSigner docstring
* Address feedback: Passing keep_blank_values=True to parse_qsl
* address feedback: fix comment
* Address feedback: double wrapping error message
* Address feedback: signin example
* Address feedback
* Add testing
---------
Co-authored-by: luigi liu <luigiliu@amazon.com>1 parent 16a15f6 commit 989d5e3
19 files changed
Lines changed: 2236 additions & 420 deletions
File tree
- .changes/next-release
- awscli
- botocore
- customizations
- cloudfront
- examples/cloudfront
- tests
- functional/cloudfront
- testdata
- unit/botocore
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
393 | 403 | | |
394 | 404 | | |
395 | 405 | | |
| 406 | + | |
396 | 407 | | |
397 | 408 | | |
398 | 409 | | |
| |||
409 | 420 | | |
410 | 421 | | |
411 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
412 | 429 | | |
413 | 430 | | |
414 | 431 | | |
| |||
419 | 436 | | |
420 | 437 | | |
421 | 438 | | |
422 | | - | |
| 439 | + | |
423 | 440 | | |
424 | 441 | | |
| 442 | + | |
425 | 443 | | |
426 | | - | |
| 444 | + | |
427 | 445 | | |
428 | | - | |
429 | | - | |
430 | | - | |
| 446 | + | |
431 | 447 | | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
441 | 453 | | |
442 | 454 | | |
443 | 455 | | |
| |||
0 commit comments