Newline corruption in multi-line secrets (SSH Keys) added via Extension
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 42/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- github-actions, typescript, vscode
研究方向
首先透過 VS Code 的 GitHub Actions > Secrets > Add Secret 流程,使用多行 PEM 金鑰重現問題,接著將擴充功能儲存的 secret 行為與 GitHub web UI 的 workaround 進行比較。追蹤儲存 secret 的路徑,並確認儲存的值保留換行格式,且能在 workflow 中成功驗證身分。
由索引模型根據 Issue 內容生成。
描述
Multi-line RSA/PEM secrets added via the VS Code extension fail authentication in GitHub Actions. Re-adding the identically pasted content via the GitHub web UI resolves the issue. This suggests the extension may be incorrectly handling or encoding newline characters.
Steps to Reproduce
Copy a valid multi-line PEM SSH key.
In VS Code, navigate to GitHub Actions > Secrets > Add Secret.
Paste the key and save.
Trigger a workflow using the secret (e.g., appleboy/ssh-action).
Expected Behavior
The secret should maintain its original formatting and be valid for SSH authentication.
Actual Behavior
Workflow fails with: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
Workaround
Deleting the secret and re-adding it through the GitHub.com web interface works immediately.
Environment
Extension Version: 0.29.1
OS: Linux (WSL2 / Ubuntu 24.04)
- 主要語言
- TypeScript
- 星號
- 662
- 分支
- 218
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/vscode-github-actions 的其他 Issue
-
enhancement
難度 2/5 1-3 小時 新手友好度 76/100
github/vscode-github-actions#627 · 2 個 reaction ·
-
難度 4/5 3-5 天 新手友好度 25/100
github/vscode-github-actions#633 ·
-
難度 5/5 一週以上 新手友好度 20/100
github/vscode-github-actions#630 · 3 則留言 · 3 個 reaction ·
-
long work未關閉
難度 4/5 3-5 天 新手友好度 25/100
github/vscode-github-actions#628 ·
-
bug
難度 3/5 1-2 天 新手友好度 55/100
github/vscode-github-actions#625 ·
查看 github/vscode-github-actions 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 85/100
wardian-app/Wardian#1603 ·
維護者通常 1 天內回覆
-
Sign the pledge未關閉
難度 1/5 1 小時以內 新手友好度 85/100
input-output-hk/devx-updates#168 ·
維護者通常 1 天內回覆
-
triage
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆
-
agent-ready area: config area: skills type: chore upstream: brain-kit
難度 1/5 1 小時以內 新手友好度 95/100
-
dev experience frontend good first issue
難度 2/5 1-3 小時 新手友好度 78/100
cuttle-cards/cuttle#1403 ·
維護者通常 1 天內回覆