Ask Your Question
0

What is the reason for the failure of productsign while attempting to sign a .pkg file on a Mac build agent in Teamcity, with the error message "SignData failed: CSSMERR_CSP_NO_USER_INTERACTION (-2147415840)"?

asked 2022-08-24 11:00:00 +0000

plato gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-12-25 17:00:00 +0000

devzero gravatar image

The error message "CSSMERRCSPNOUSERINTERACTION" suggests that the product sign is unable to access the keychain on the build agent to sign the .pkg file. This could be due to various reasons such as:

  1. Incorrect permissions: The user running the build may not have the necessary permissions to access the keychain.

  2. Missing keychain: The keychain required to sign the package may not be present on the build agent.

  3. Incorrect keychain configuration: The keychain may not be configured correctly to allow signing of the package.

  4. Keychain access prompt: If the build agent is running as a daemon or service, it may not be able to display the keychain access prompt required for signing the package.

To resolve this issue:

  1. Make sure that the user running the build has the necessary permissions to access the keychain.

  2. Verify that the required keychain is present on the build agent and is configured correctly.

  3. If necessary, create a new keychain with the required configuration.

  4. If the build agent is running as a daemon or service, consider running it in an interactive mode that allows the display of the keychain access prompt.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-08-24 11:00:00 +0000

Seen: 12 times

Last updated: Dec 25 '22