Do not log `Enter value for --password:stdin` if password is already provided via stdin
还没有人认领这个 Issue。
评估
调研方向
从 cryptomator-cli unlock 入口点开始,跟踪 --password:stdin 选项的处理过程。复现 issue 中的命令,然后验证通过 stdin 提供密码时不再记录提示信息,同时 vault 仍能成功解锁并挂载。
由索引模型根据 Issue 内容生成。
描述
Please agree to the following
- I have searched existing issues for duplicates
- I agree to follow this project's Code of Conduct
Summary
Show this log entry Enter value for --password:stdin ony if password is not provided via stdin
What software is involved?
- Operating System: Not relevant
- Cryptomator CLI: 0.6.0
Volume Type
None
Steps to Reproduce
- Execute
echo "foo" | cryptomator-cli unlock /home/foo/vault/ --mountPoint=/home/foo/mounted --mounter=org.cryptomator.frontend.fuse.mount.LinuxFuseMountProvider --password:stdin
Expected Behavior
[main] INFO o.c.cli.Unlock - Unlocked and mounted vault successfully to file:///home/foo/mounted/ is logged
Actual Behavior
Enter value for --password:stdin (Passphrase, read from STDIN):
is additional logged
Reproducibility
Always
Relevant Log Output
echo "foo" | cryptomator-cli unlock /home/foo/vault/ --mountPoint=/home/foo/mounted --mounter=org.cryptomator.frontend.fuse.mount.LinuxFuseMountProvider --password:stdin
Enter value for --password:stdin (Passphrase, read from STDIN):
[main] INFO o.c.cli.Unlock - Unlocked and mounted vault successfully to file:///home/foo/mounted/
Anything else?
No response
- 主要语言
- Java
- 星标
- 429
- 派生
- 51
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cryptomator/cli 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 55/100
cryptomator/cli#102 ·
-
难度 4/5 3-5 天 新手友好度 45/100
cryptomator/cli#100 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
cryptomator/cli#97 ·
-
难度 4/5 3-5 天 新手友好度 35/100
cryptomator/cli#96 ·
-
难度 3/5 1-2 天 新手友好度 45/100
cryptomator/cli#95 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
-
难度 2/5 1-3 小时 新手友好度 64/100
utopia-rise/godot-jvm#1004 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
spring-projects/spring-grpc#442 ·
-
Expose numberOfPermits in RateLimiterEvent.toString() and the ratelimiterevents actuator DTO可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
resilience4j/resilience4j#2547 ·
维护者通常 9 天内回复
-
Clock.MakeDate continues execution and returns a rolled-over instant after dispatching error on invalid date可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 82/100
mit-cml/appinventor-sources#4155 ·
维护者通常 1 天内回复