nodejs / nodejs/node-core-utils

Consider encrypting .ncurc with a passphrase

未关闭
#615 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature request
主要语言
JavaScript
星标
314
派生
137
平均合并
2 天 8 小时
30 天内合并 PR
24

描述

Since it contains tokens (though in general just read permissions of the org and the jenkins), it would be safer if we encrypt it with a passphrase (in case some malicious code gets access to the user's home directory), and perhaps warn if the read permission of it is too generous, similar to how the ssh keys are protected.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 .ncurc 的读取方式,以及现有的 SSH-key 权限保护机制是如何工作的。确定预期的 passphrase 流程,以及文件访问权限过于宽松时的警告行为。当安全方案达成一致并完成实现,且涵盖加密凭据和权限警告时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
cli, security
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。