这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@edigaryev
Copy link
Collaborator

@edigaryev edigaryev commented Oct 8, 2025

To work around errors like:

  • SecKeyCreateRandomKey_ios failed
  • Failed to generate keypair
  • Interaction is not allowed with the Security Server

...when running tart run on headless machines like the ones provided by AWS EC2.

Related issues:

Also specifically unlock login.keychain in "Running login/clone/pull/push commands over SSH" section, which should better indicate a missing keychain instead of doing nothing.

@edigaryev edigaryev requested a review from fkorotkov as a code owner October 8, 2025 17:48
@edigaryev edigaryev requested a review from Copilot October 8, 2025 17:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive documentation for handling keychain-related errors on headless macOS machines. It addresses the undocumented requirement in macOS 15 (Sequoia) for an unlocked login.keychain when using Virtualization.Framework through Tart.

  • Added a new "Headless machines" section explaining the keychain requirement and common error messages
  • Documented two workarounds: GUI login approach and terminal-based keychain creation
  • Updated SSH keychain unlock instructions to be more specific and clear

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@edigaryev edigaryev merged commit b05c731 into main Oct 8, 2025
7 checks passed
@edigaryev edigaryev deleted the headless-machines branch October 8, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants