ScriptCollection 3.4.1__py3-none-any.whl → 3.4.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ScriptCollection/ScriptCollectionCore.py +1 -1
- ScriptCollection/TasksForCommonProjectStructure.py +6 -4
- {ScriptCollection-3.4.1.dist-info → ScriptCollection-3.4.2.dist-info}/METADATA +1 -1
- {ScriptCollection-3.4.1.dist-info → ScriptCollection-3.4.2.dist-info}/RECORD +7 -7
- {ScriptCollection-3.4.1.dist-info → ScriptCollection-3.4.2.dist-info}/WHEEL +0 -0
- {ScriptCollection-3.4.1.dist-info → ScriptCollection-3.4.2.dist-info}/entry_points.txt +0 -0
- {ScriptCollection-3.4.1.dist-info → ScriptCollection-3.4.2.dist-info}/top_level.txt +0 -0
|
@@ -1530,11 +1530,13 @@ class TasksForCommonProjectStructure:
|
|
|
1530
1530
|
self.set_constant(codeunit_folder, source_constant_name+"PublicKey", certificate_publickey)
|
|
1531
1531
|
|
|
1532
1532
|
@GeneralUtilities.check_arguments
|
|
1533
|
-
def set_constants_for_certificate_private_information(self, codeunit_folder: str, certificate_resource_name: str = "DevelopmentCertificate"):
|
|
1533
|
+
def set_constants_for_certificate_private_information(self, codeunit_folder: str, certificate_resource_name: str = "DevelopmentCertificate", domain: str = None):
|
|
1534
1534
|
"""Expects a certificate-resource and generates a constant for its sensitive information in hex-format"""
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1535
|
+
if domain is None:
|
|
1536
|
+
codeunit_name = os.path.basename(codeunit_folder)
|
|
1537
|
+
domain=codeunit_name
|
|
1538
|
+
self.generate_constant_from_resource_by_filename(codeunit_folder, certificate_resource_name, f"{domain}.test.local.pfx", "PFX")
|
|
1539
|
+
self.generate_constant_from_resource_by_filename(codeunit_folder, certificate_resource_name, f"{domain}.test.local.password", "Password")
|
|
1538
1540
|
|
|
1539
1541
|
@GeneralUtilities.check_arguments
|
|
1540
1542
|
def generate_constant_from_resource_by_filename(self, codeunit_folder: str, resource_name: str, filename: str, constant_name: str):
|
|
@@ -3,12 +3,12 @@ ScriptCollection/GeneralUtilities.py,sha256=vZDiW5lWJRCrIZVs1bTCZ-O5slQnM5dv4GcJ
|
|
|
3
3
|
ScriptCollection/ProgramRunnerBase.py,sha256=2kyOuoM3oFjBfLc9Q5t5RTz7Ya2CjUxFtB1rBBDmnjU,1937
|
|
4
4
|
ScriptCollection/ProgramRunnerEpew.py,sha256=nIzY4dG6W-xEpkeoTbozwNZtFSIo-bU_W6t6u1AZKtE,6275
|
|
5
5
|
ScriptCollection/ProgramRunnerPopen.py,sha256=HOs1QVnXiQtwXy1_xvH79bWBdd0i-2tUyyLloQBvMto,3023
|
|
6
|
-
ScriptCollection/ScriptCollectionCore.py,sha256=
|
|
7
|
-
ScriptCollection/TasksForCommonProjectStructure.py,sha256=
|
|
6
|
+
ScriptCollection/ScriptCollectionCore.py,sha256=6qa2zBQSbxkIBwMZ4heulf6dDhtrMN7gkanutNxeHhk,96083
|
|
7
|
+
ScriptCollection/TasksForCommonProjectStructure.py,sha256=aDhyppnfEgaiLxo4H04fZVJfAjsGisUeexCkq6LyEHo,144098
|
|
8
8
|
ScriptCollection/UpdateCertificates.py,sha256=Go-JJK-YTi7aBB1phlLxypa8GHkmFHBEPB0_TT9G-bw,7918
|
|
9
9
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
ScriptCollection-3.4.
|
|
11
|
-
ScriptCollection-3.4.
|
|
12
|
-
ScriptCollection-3.4.
|
|
13
|
-
ScriptCollection-3.4.
|
|
14
|
-
ScriptCollection-3.4.
|
|
10
|
+
ScriptCollection-3.4.2.dist-info/METADATA,sha256=evfc3SpJ8Vv-CaWAdN61NruiT4me5XscExweMZkxWUw,7649
|
|
11
|
+
ScriptCollection-3.4.2.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
12
|
+
ScriptCollection-3.4.2.dist-info/entry_points.txt,sha256=dJKdWcH41owxlKx_khj4P7DItr9lhxWP9JU2Dq8GSsQ,2088
|
|
13
|
+
ScriptCollection-3.4.2.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
|
14
|
+
ScriptCollection-3.4.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|