Skip to content

fix: [CI-19914] Forward fix final: adding strict FIPS-safe fallback#127

Open
ebtasam-faridy wants to merge 2 commits intowings-software:masterfrom
ebtasam-faridy:v1.7.2.6-debug
Open

fix: [CI-19914] Forward fix final: adding strict FIPS-safe fallback#127
ebtasam-faridy wants to merge 2 commits intowings-software:masterfrom
ebtasam-faridy:v1.7.2.6-debug

Conversation

@ebtasam-faridy
Copy link
Copy Markdown
Contributor

@ebtasam-faridy ebtasam-faridy commented Mar 24, 2026

Added fallback in case of ssh key-scan failure

Replaced direct ssh-keyscan ... 2>/dev/null with captured stderr:
introduces KEYSCAN_ERR_FILE
runs keyscan under set +e and captures SSH_KEYSCAN_EXIT
Adds conditional command selection:
if keyscan succeeds -> default GIT_SSH_COMMAND (unchanged from old)
else -> fallback GIT_SSH_COMMAND:
StrictHostKeyChecking=accept-new
KexAlgorithms=ecdh-sha2-nistp256,diffie-hellman-group14-sha256

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.

1 participant