-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Keychain locked? #98
Comments
It looks like they keychain is getting locked due to the lock screen, is there any way to avoid this? |
Is it the host machine that's going to the lock screen, or the tart VM? Either way, the only way I know of to work around that is to disable screen lock. sysadminctl -screenLock off -password <password> Maybe a good idea to disable the screensaver and system sleep as well. defaults -currentHost write com.apple.screensaver idleTime 0
sudo systemsetup -setsleep Off |
Yea, I am talking about the host. Tartelet on the host can not read from they keychain once the host is locked. |
@simonbs While you are here, do you have any advise on this problem? I don't want to leave my Mac Minis unlocked. |
I'm not fond of the idea of storing the secrets outside of the keychain. However, I think I'd be OK with storing them in the keychain, loading them into memory, and referencing the secrets in memory going forward. This way, the Mac should only need to be unlocked the first time the secrets are read from the keychain. I don't have the time to implement this right now but I'm happy to review and merge PRs. |
I talked with Copilot for a bit and read some documentation, maybe we can set As far as I understand, this can be combined with a LaunchAgent that would have access to the keychain even after reboot & automatic login. |
Your Question
I am running Tartelet on a remote Mac Mini.
When I log in via Remote Desktop everything is fine and Tartlet happily creates and removes the VMs.
But when I close the remote connection after a short while Tartelet fails to create Github runners because the private key is not available anymore. As soon as I connect & login again, the problem disappears.
So I am wondering if anyone has experienced this or has any ideas.
Any additional context?
No response
The text was updated successfully, but these errors were encountered: