Repository navigation
Raise LoginTokenLoadError when cached DPoP key cannot be loadedFix login dpop key 10935 - #10938
Open
Ashvanth-gif wants to merge 2012 commits into
Open
Ashvanth-gif wants to merge 2012 commits into
Ashvanth-gif wants to merge 2012 commits into
Conversation
* release-1.45.5: Bumping version to 1.45.5 Update changelog based on model updates
…ws#10289) The Paths field and surrounding lines in describe-account.rst, list-accounts.rst, and list-accounts-for-parent.rst used spaces instead of tabs, causing misaligned rendering on GitHub.
* release-1.45.6: Bumping version to 1.45.6 Update changelog based on model updates
) * Adding path and state parameters to outputs where appropriate * Update list-organizational-units-for-parent.rst * Update create-organizational-unit.rst * Update describe-organizational-unit.rst * Update update-organizational-unit.rst * Update update-organizational-unit.rst * Update list-organizational-units-for-parent.rst
…10300) Co-authored-by: Prashant Bharti <bhartipr@amazon.com>
* Add CLI examples for ControTower APIs * fix control tower examples * fix enable-baseline Co-authored-by: Elysa <60367675+elysahall@users.noreply.github.com> * Update target identifier in enable-baseline example * Fix formatting in create-landing-zone.rst * Fix formatting issue in delete-landing-zone.rst * Fix formatting of disable-control.rst * Fix formatting in enable-control.rst * Fix newline at end of get-baseline-operation.rst * Fix missing newline at end of get-baseline.rst * Fix missing newline at end of get-control-operation.rst * Fix newline at end of get-enabled-baseline.rst * Fix formatting in get-enabled-control.rst * Fix formatting in get-landing-zone-operation.rst * Fix newline at end of get-landing-zone.rst * Fix formatting in list-baselines.rst * Fix formatting of the information link in documentation * Fix formatting * Fix formatting in list-enabled-controls.rst * Fix formatting of landing zone operations documentation * Fix formatting in list-landing-zones.rst * Fix formatting of list-tags-for-resource.rst * Fix missing newline at end of reset-enabled-baseline.rst * Fix missing newline at end of reset-enabled-control.rst * Fix newline at end of reset-landing-zone.rst * Fix formatting in tag-resource.rst * Fix formatting of resource untagging documentation * Fix formatting issue in update-enabled-baseline.rst * Fix missing newline at end of update-enabled-control.rst * Fix formatting in update-landing-zone.rst * Fix formatting in delete-landing-zone.rst * Fix formatting in update-landing-zone.rst * Update get-landing-zone.rst with user guide link Added a reference to the AWS Control Tower User Guide. * Update example ARN in update-enabled-control.rst * Apply suggestion from @elysahall Co-authored-by: Elysa <60367675+elysahall@users.noreply.github.com> * Fix formatting by removing extra newline Remove extra newline before the output note. * Fix typo in list-enabled-controls documentation * Fix statusMessage formatting in list-control-operations.rst * Update centralized logging account ID and KMS key ARN * Fix grammar in get-landing-zone-operation example * Update get-landing-zone-operation.rst * Fix grammatical error in get-enabled-control example * Update get-enabled-baseline.rst * Update get-control-operation.rst * Fix grammatical error in get-baseline-operation example * Clean up enable-baseline.rst content Removed redundant information and example header. * Simplify update-enabled-baseline example Removed redundant information about baseline types. * Fix grammatical error in documentation example --------- Co-authored-by: Elysa <60367675+elysahall@users.noreply.github.com>
* release-1.45.7: Bumping version to 1.45.7 Update changelog based on model updates
* release-1.45.8: Bumping version to 1.45.8 Update changelog based on model updates
Rename get-resource-lf-tags.rst to list-lf-tags.rst (v1)
* release-1.45.9: Bumping version to 1.45.9 Update changelog based on model updates
* release-1.45.10: Bumping version to 1.45.10 Update changelog based on model updates
* release-1.45.11: Bumping version to 1.45.11 Update changelog based on model updates
* release-1.45.64: Bumping version to 1.45.64 Update changelog based on model updates
* Remove botocore and s3transfer from declared dependencies * Add botocore transitive dependencies to awscli Since botocore is vendored in-tree, pip no longer resolves its dependencies automatically. Promote jmespath, python-dateutil, and urllib3 to direct awscli dependencies. * Add botocore and s3transfer source as awscli subpackages Copies botocore and s3transfer source directly into the awscli package. The s3transfer processpool module is removed because it spawns subprocesses where the MetaPathFinder is not active, and the code is not used by the AWS CLI. * Add TopLevelImportAliasFinder for botocore and s3transfer Adds a MetaPathFinder that redirects top-level imports of botocore and s3transfer to their vendored locations under awscli/. Uses the same wrapper pattern as CLI v2, wrapping the built-in PathFinder. * Integrate botocore test suite into aws-cli Copies botocore unit, functional, and integration tests into the aws-cli tree. * Set up botocore test utilities Botocore's tests/__init__.py contains test base classes and helpers. We place it at tests/utils/botocore/__init__.py so it doesn't conflict with awscli's tests/__init__.py. Then we import the needed names into tests/__init__.py so that 'from tests import BaseSessionTest' etc. works for botocore tests without modification. * Add jsonschema dependency for botocore tests * Copy and fix botocore cmd-runner script. The leak tests use a cmd-runner script that runs in a subprocess. Since the MetaPathFinder is not active in subprocesses (awscli is never imported there), the script must import awscli.botocore.session directly. * Update botocore test cross-references. Botocore tests that import from their own sub-packages (e.g., 'from tests.functional.docs import ...') need updating because the tests now live one level deeper (tests/functional/botocore/docs/). Also, Fix relative imports that no longer resolve correctly * Fix os.environ patch leak The TestExpectContinueBehavior test started an os.environ patch but never stopped it, causing AWS_DATA_PATH to be lost for all subsequent tests in the same session. * Integrate botocore test suite into aws-cli Copies botocore unit, functional, and integration tests into the aws-cli tree. Sets up test utilities at tests/utils/botocore/ and updates cross-references for the new directory structure. Includes cmd-runner fix for subprocess-based leak tests. * Integrate s3transfer test suite into aws-cli Copies s3transfer unit, functional, and integration tests into the aws-cli tree. Removes processpool tests (matches source removal). Sets up test utilities at tests/utils/s3transfer/ and updates cross-references and mock targets. * Remove requirements.txt botocore and s3transfer are now vendored in-tree and do not need to be installed separately. * Update MANIFEST.in for vendored botocore data Include botocore service model JSON files and CA certificate bundle in source distributions. * Update dependency closure test for vendoring Remove botocore and s3transfer from expected runtime dependencies since they are now vendored in-tree. * Add awscrt as extras_require for CRT support With botocore vendored in-tree, the extras_require dependency chain collapses. Previously: awscli -> botocore[crt] -> awscrt==X.Y.Z Now: awscli[crt] -> awscrt==awscrt==0.36.0 directly. This allows users to install CRT support via: pip install awscli[crt] * Remove cloudsearch smoke tests The cloudsearch service is closed to new customers. Removing these since any new accounts are not allowlisted. * Add changelog entry for vendoring * Update IAM role ARN account in pull-request-build workflow Switch from account 066695136813 to 506715794691.
* release-1.46.0: Bumping version to 1.46.0
…gin flows (aws#10534) Co-authored-by: George Zefi <kzefi@amazon.com>
Bumps [actions/stale](https://github.com/actions/stale) from 10.4.0 to 11.0.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](actions/stale@1e223db...4391f3d) --- updated-dependencies: - dependency-name: actions/stale dependency-version: 11.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add warning for outdated SessionManagerPlugin version * Consolidate version check into meets_requirement --------- Co-authored-by: Rong Jin <rongjina@amazon.com>
* release-1.46.1: Bumping version to 1.46.1
Bumps [aws-actions/stale-issue-cleanup](https://github.com/aws-actions/stale-issue-cleanup) from 6 to 7. - [Release notes](https://github.com/aws-actions/stale-issue-cleanup/releases) - [Changelog](https://github.com/aws-actions/stale-issue-cleanup/blob/main/CHANGELOG.md) - [Commits](aws-actions/stale-issue-cleanup@7de3596...0604f2e) --- updated-dependencies: - dependency-name: aws-actions/stale-issue-cleanup dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…0696) Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 6.2.0 to 6.3.0. - [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases) - [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md) - [Commits](aws-actions/configure-aws-credentials@e7f100c...e125382) --- updated-dependencies: - dependency-name: aws-actions/configure-aws-credentials dependency-version: 6.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 7.0.0 to 7.1.1. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@fb8b358...303a32d) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: 7.1.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: luigi liu <luigiliu@amazon.com>
* release-1.46.2: Bumping version to 1.46.2
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 7.0.0 to 7.1.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@5fda3b9...6d4fd22) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* release-1.46.3: Bumping version to 1.46.3
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #10935
Problem
When the cached DPoP private key is malformed (for example, a 31-byte
private scalar), awscrt raises a RuntimeError
(AWS_ERROR_CAL_UNSUPPORTED_KEY_FORMAT).
_load_private_key()onlycaught ValueError, so the raw CRT error surfaced to the user instead
of the usual guidance to sign in again.
Change
LoginCredentialFetcher._load_private_key()and raiseLoginTokenLoadError.without the change and passes with it.
Not included
This does not fix the underlying cause, where the key is saved with a
31-byte scalar. Happy to follow up on that here or in a separate PR,
whichever you prefer.
Testing
pytest tests/unit/botocore/test_credentials.pypasses.