Skip to content

Commit a0ea517

Browse files
authored
Merge pull request #127 from Venafi/VC-23982/set-policy-fix
Set policy fix
2 parents 91eea91 + 371af7a commit a0ea517

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

docs/version_history.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Version History
44

5+
#### 0.16.0
6+
* Fixed **[Issue 124](https://github.com/Venafi/vcert-python/issues/124)**: Fixed an issue where adding a Certificate Issuing Template to an existing Application failed
7+
* Upgraded cryptography dependency to 40.0.2 to cover a security risk CVE-2023-23931
8+
* Removed orgUnit field from AppDetails, as Venafi as a Service dropped the use of the field
59
#### 0.15.0
610
* Fixed **[Issue 100](https://github.com/Venafi/vcert-python/issues/100)**: Updated behavior for 'serviceGenerated' attribute on VaaS
711
* Fixed **[Issue 101](https://github.com/Venafi/vcert-python/issues/101)**: Added support for the following Subject Alternative Names when creating a policy on VaaS: email, IP, URI

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
version='0.15.0',
1515
url="https://github.com/Venafi/vcert-python",
1616
packages=['vcert', 'vcert.parser', 'vcert.policy'],
17-
install_requires=['requests==2.27.1', 'python-dateutil==2.8.2', 'certvalidator<=0.11.1', 'six==1.16.0',
18-
'cryptography==36.0.1', 'ruamel.yaml==0.17.20', 'pynacl==1.5.0'],
17+
install_requires=['requests==2.31.0', 'python-dateutil==2.8.2', 'certvalidator<=0.11.1', 'six==1.16.0',
18+
'cryptography==40.0.2', 'ruamel.yaml==0.17.31', 'pynacl==1.5.0'],
1919
description='Python client library for Venafi Trust Protection Platform and Venafi Cloud.',
2020
long_description=long_description,
2121
long_description_content_type="text/markdown",

vcert/connection_cloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ def set_policy(self, zone, policy_spec):
654654
if app_details.cit_alias_id_map:
655655
# Only link cit with Application when cit is not already associated with Application
656656
cit_map = app_details.cit_alias_id_map
657-
cit_id, cit_name = get_cit_data_from_response(cit_data)
657+
cit_id, cit_name = get_cit_data_from_response(resp_cit_data)
658658
cit_map[cit_name] = cit_id
659659
app_req = build_app_update_request(app_details, cit_map)
660660
status, data = self._put(URLS.APP_BY_ID.format(app_details.app_id), app_req)

0 commit comments

Comments
 (0)