- Dec 24, 2024
-
- Nov 26, 2024
-
- Oct 10, 2024
-
-
Chih-Hsuan Yen authored
-
- Jun 22, 2024
-
- May 05, 2024
-
- Apr 10, 2024
-
-
Chih-Hsuan Yen authored
- Mar 17, 2024
-
- Mar 12, 2024
-
-
Chih-Hsuan Yen authored
-
- Mar 01, 2024
-
-
Chih-Hsuan Yen authored
-
Chih-Hsuan Yen authored
-
- Jan 21, 2024
-
-
Chih-Hsuan Yen authored
____________ TestIdentity.test_introspect_signed_id_token_0_success ____________ [gw16] linux -- Python 3.11.6 /usr/bin/python a = (<tests.integration_tests.api.secrets_engines.test_identity.TestIdentity testMethod=test_introspect_signed_id_token_0_success>,) @wraps(func) def standalone_func(*a): > return func(*(a + p.args), **p.kwargs) /usr/lib/python3.11/site-packages/parameterized/parameterized.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/integration_tests/api/secrets_engines/test_identity.py:2152: in test_introspect_signed_id_token self.client.secrets.identity.create_or_update_role( hvac/api/secrets_engines/identity.py:1478: in create_or_update_role return self._adapter.post( hvac/adapters.py:159: in post return self.request("post", url, **kwargs) hvac/adapters.py:408: in request response = super().request(*args, **kwargs) hvac/adapters.py:376: in request self._raise_for_error(method, url, response) hvac/adapters.py:294: in _raise_for_error utils.raise_for_error( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ method = 'post', url = 'https://127.0.0.1:50299/v1/identity/oidc/role/hvac' status_code = 400, message = None, errors = ['cannot find key "hvac_key"'] text = '{"errors":["cannot find key \\"hvac_key\\""]}\n' json = {'errors': ['cannot find key "hvac_key"']} def raise_for_error( method, url, status_code, message=None, errors=None, text=None, json=None ): """Helper method to raise exceptions based on the status code of a response received back from Vault. :param method: HTTP method of a request to Vault. :type method: str :param url: URL of the endpoint requested in Vault. :type url: str :param status_code: Status code received in a response from Vault. :type status_code: int :param message: Optional message to include in a resulting exception. :type message: str :param errors: Optional errors to include in a resulting exception. :type errors: list | str :param text: Optional text of the response. :type text: str :param json: Optional deserialized version of a JSON response (object) :type json: object :raises: hvac.exceptions.InvalidRequest | hvac.exceptions.Unauthorized | hvac.exceptions.Forbidden | hvac.exceptions.InvalidPath | hvac.exceptions.RateLimitExceeded | hvac.exceptions.InternalServerError | hvac.exceptions.VaultNotInitialized | hvac.exceptions.BadGateway | hvac.exceptions.VaultDown | hvac.exceptions.UnexpectedError """ > raise exceptions.VaultError.from_status( status_code, message, errors=errors, method=method, url=url, text=text, json=json, ) E hvac.exceptions.InvalidRequest: cannot find key "hvac_key", on post https://127.0.0.1:50299/v1/identity/oidc/role/hvac hvac/utils.py:41: InvalidRequest
-
- Jan 19, 2024
-
-
Chih-Hsuan Yen authored
mock dropped as part of https://github.com/hvac/hvac/pull/1119
-
- Nov 19, 2023
-
-
Chih-Hsuan Yen authored
Only buildbot uses python-hvac, and its tests are still green. Maybe I will move it soon. * python-pyhcl is optional again https://github.com/hvac/hvac/pull/1060 * Cherry-pick a fix for vault 1.15 compatibilty. Fixes https://bugs.archlinux.org/task/80286 * Patch for unittest.mock. See: https://archlinux.org/todo/drop-python-mock-checkdepends/
-
- Sep 24, 2023
-
- Sep 09, 2023
-
-
Chih-Hsuan Yen authored
* Drop merged patch * Add more comments for incompatibility with Flask 2.3
-
- Aug 31, 2023
-
-
Chih-Hsuan Yen authored
Also switches to upstream changes for compatibility with newer vault. I use a local patch due to git conflicts, and apparently not all changes are required. See: https://github.com/hvac/hvac/pull/1023
-
- Jun 25, 2023
-
- Apr 09, 2023
-
- Mar 17, 2023
-
- Nov 12, 2022
-
- Oct 29, 2022
-
-
Chih-Hsuan Yen authored
See: https://github.com/hvac/hvac/issues/905
-
- Sep 19, 2022
-
-
Chih-Hsuan Yen authored
* Switch to PEP517 as upstream switches to poetry https://github.com/hvac/hvac/pull/854 * python-pyhcl is now required instead of optional after the PR above * Re-enable most integration tests after upstream fixes - see https://github.com/hvac/hvac/issues/852 and related pull requests
-
- Jul 11, 2022
-
- Dec 09, 2021
-
-
Chih-Hsuan Yen authored
manually rebuild for Python 3.10 - somehow "localhost" does not resolve to 127.0.0.1 and ::1 on rebuilders, apparently
-
Chih-Hsuan Yen authored
- Dec 01, 2021
-
-
Johannes Löthberg authored
The prepare function requires vault to be installed, so it needs to be moved to makedepends.
- Sep 30, 2021
-
- Jul 16, 2021
-
- Jun 25, 2021
-