-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added code signing attributes to ConfigFactory and QtIfwPackage. Inte…
…grated code signing mechanism into high level processes.
- Loading branch information
BuvinJ
committed
Feb 16, 2021
1 parent
9ca5626
commit bff31a9
Showing
6 changed files
with
116 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
from distbuilder import( PyToBinInstallerProcess, ConfigFactory, | ||
CodeSignConfig, getPassword) | ||
|
||
f = configFactory = ConfigFactory() | ||
f.productName = "Hello World Tk Example" | ||
f.description = "A Distribution Builder Example" | ||
f.companyTradeName = "Some Company" | ||
f.companyLegalName = "Some Company Inc." | ||
f.binaryName = "HelloWorldTk" | ||
f.isGui = True | ||
f.entryPointPy = "../hello_world_tk/hello.py" | ||
f.iconFilePath = "../hello_world_tk/demo.ico" | ||
f.version = (1,0,0,0) | ||
f.setupName = "HelloSignedSetup" | ||
|
||
# You must run the generateTrustCerts example first, to have the PFX file | ||
# referenced below. | ||
# Supply the PFX password using one of the following options shown. | ||
f.codeSignConfig = CodeSignConfig( pfxFilePath="./certs/SomeCompany.pfx", | ||
keyPassword=getPassword( isGuiPrompt=True ) ) | ||
#keyPassword=None ) | ||
#keyPassword="my-secure-password" ) | ||
|
||
p = PyToBinInstallerProcess( configFactory, isDesktopTarget=True ) | ||
p.isAutoInstallTest = True | ||
p.run() |
This file contains 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