fix/cli-hangs-unsupported-ssh-url + TOFU #341
No reviewers
Labels
No labels
Compat/Breaking
Component/Enclave-Builder
Component/Infrastructure
Deploy/BYOC
Deploy/Full-managed
Deploy/Self-hosted
Interface/API
Interface/CLI
Interface/Git
Interface/Web
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
public/platform!341
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/341/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When a manifest's app source uses an
ssh://URL,caution verifycould hang waiting for an interactive SSH prompt (host key TOFU or credentials). Three fixes:git_url_to_archive_urlsnow parsesssh://scheme URLs, so archive download is attempted before falling back to git clonegit_commandsetsGIT_TERMINAL_PROMPT=0,GIT_ASKPASS=true, andGIT_SSH_COMMANDwithBatchMode=yesto prevent SSH from prompting via/dev/ttyStrictHostKeyChecking=accept-new— explicit TOFU: unknown hosts are accepted on first contact, changed keys are rejected (MITM protection); existingGIT_SSH_COMMANDfrom the caller's env is preserved and extended rather than replaced