lyft / lyft/python-blessclient
Dont add to ssh-agent unless specified
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 117
- 分支
- 31
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I would suggest implementing a parameter that allows stopping bless from adding the Identity file to ssh-agent.
Namely this lines: https://github.com/lyft/python-blessclient/blob/master/blessclient/client.py#L594-L597
Given a config like:
Match exec "env | grep -q BLESS_COMPLETE || /Users/stype/blessclient/blessclient.run --gui --host '%h'"
IdentityFile ~/.ssh/blessid
this is not required and could interfere with other credentials.
I think this is required when doing a wrapper around the ssh command but in that case its easy to toggle on in the script.
If this is accepted I can create a PR to cleanup/implement this.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 blessclient/client.py 的第 594-597 行開始,追蹤用戶端選項如何傳遞給 SSH-agent 處理邏輯。新增一個可停用新增 Identity 檔案的參數,同時預設保留現有行為;當 wrapper 使用情境可以選擇不新增該檔案,且不影響其他認證資訊時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- authentication, security
- Issue 類型
- 功能
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100