code-signing

Sign PowerShell script from C#

跟風遠走 提交于 2020-08-20 11:24:29
问题 I'm looking to create a web service to sign powershell scripts for use within an intranet. Is it possible to replicate the block of encoded text at the end of a script that set-authenticodesignature creates? The MSDN documentation seems to say no. 回答1: .NET is not your friend on this one. No support that I've been able to find - I've searched on multiple occasions This is a VB example that uses Win32 API. Could be adapted to Powershell. http://blogs.msdn.com/b/alejacma/archive/2008/02/20/how

Py2App Placing PIL Dylibs in Zip file

五迷三道 提交于 2020-08-09 13:32:12
问题 I have an python application that uses the Python Imaging Library (PIL) and is packaged using Py2app. Numpy dylibs are found in the app contents directory: demo.app/Contents/Resources/lib/python3.8/numpy/.dylibs/libgcc_s.1.dylib where they can be searched for and signed but PIP dylibs are inside a python3.8.zip file demo.app/Contents/Resources/lib/python3.zip -> ./PIL/.dylibs/libfreetype.6.dylib where one would have to unzip, sign, and rezip them. Why does this happen and how do I prevent it

“Warning: unable to build chain to self-signed root for signer” warning in Xcode 9.2

时光总嘲笑我的痴心妄想 提交于 2020-08-04 08:55:18
问题 I'm attempting to migrate an Xcode project to another computer. It gives me the warning "Warning: unable to build chain to self-signed root for signer" and when it runs it crashes immediately similarly to what is shown in this Stack Overflow: App working on simulator but not on iPhone( dyld`__abort_with_payload dyld`_dyld_start) My issue seems similar to what is described on the Apple Developer Forums here: https://forums.developer.apple.com/thread/86161 and similar to what is described on

How to manage signing keystore in Gitlab CI for android

非 Y 不嫁゛ 提交于 2020-07-04 11:36:13
问题 Dear stackoverflow community, once more I turn to you :) I've recently come across the wonder of Gitlab and their very nice bundled CI/CD solution. It works gallantly however, we all need to sign our binaries don't we and I've found no way to upload a key as I would to a Jenkins server for doing this. So, how can I, without checking in my keys and secrets sign my android (actually flutter) application when building a release? From what I see, most people define the build job with signing

Xcode 10: Code Signing my App+Framework fails, because of failure signing 3rd party dependency framework (PromiseKit). Works in Xcode 9

寵の児 提交于 2020-06-09 12:01:23
问题 I have an Xcode 10 - iOS12 swift project that links against My own framework (also Xcode 10 + iOS12). The app project is referencing my framework project as a sub-project reference. My Framework project references PromiseKit.framework (a universal framework - fat library), made using the following build script: # Merge Script # 1 # Set bash script to exit immediately if any commands fail. set -e # 2 # Setup some constants for use later on. FRAMEWORK_NAME="PromiseKit" # 3 # If remnants from a

Test certificate not trusted

ぃ、小莉子 提交于 2020-05-28 09:28:26
问题 I develop VSTO solutions for Word and Excel. Since yesterday, for no apparent reason, I am now unable to debug any of my solutions. I face the same symptoms even when I try to debug a new blank VSTO project. When the add-in launches (typically at Excel or Word startup), the following shows up: System.Security.SecurityException: Customized functionality in this application will not work because the certificate used to sign the deployment manifest for ExcelAddIn1 or its location is not trusted.

How to properly codesign macOS Screensaver?

隐身守侯 提交于 2020-05-28 03:34:23
问题 I'm trying to codesign my macOS screensaver project to get rid of the "unidentified developer" warning message. Both Apple's documentation and this person on Apple's forums say that you should use the "Developer ID Application" signing certificate to do it. But that doesn't appear to work for me. When I follow Apple's instructions on how to test for proper signatures the response I get is as follows: Screensaver.saver: rejected (the code is valid but does not seem to be an app) My signing

How to properly codesign macOS Screensaver?

别说谁变了你拦得住时间么 提交于 2020-05-28 03:31:11
问题 I'm trying to codesign my macOS screensaver project to get rid of the "unidentified developer" warning message. Both Apple's documentation and this person on Apple's forums say that you should use the "Developer ID Application" signing certificate to do it. But that doesn't appear to work for me. When I follow Apple's instructions on how to test for proper signatures the response I get is as follows: Screensaver.saver: rejected (the code is valid but does not seem to be an app) My signing

How to properly codesign macOS Screensaver?

风格不统一 提交于 2020-05-28 03:30:59
问题 I'm trying to codesign my macOS screensaver project to get rid of the "unidentified developer" warning message. Both Apple's documentation and this person on Apple's forums say that you should use the "Developer ID Application" signing certificate to do it. But that doesn't appear to work for me. When I follow Apple's instructions on how to test for proper signatures the response I get is as follows: Screensaver.saver: rejected (the code is valid but does not seem to be an app) My signing

How do I sign an XLA from Excel 2016 with a timestamp?

无人久伴 提交于 2020-05-15 04:49:06
问题 I am struggling to sign an XLA from Excel 2016 with a timestamp . This is important, because without a timestamp the signature becomes invalid when the code signing certificate used expires. Unfortunately by default Excel does not apply a timestamp to the signature. Microsoft's documentation (https://docs.microsoft.com/en-us/deployoffice/security/use-digital-signatures-with-office) states: To use the time stamp functionality with digital signatures, you must complete the following tasks: Set