Commit 0a3f2b4
committed
Auto merge of #10458 - Eh2406:console-history, r=ehuss
Don't recommend leaking tokens into the console history
Passing a secret on the command line leeks it into the history witch is available to other applications on the same system.
Removing the functionality is a braking change, a big ask. But it is not hard to change the docs to not recommend using `cargo login` that way.
cc:
- https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/If.20RFC.203231.20Private.20tokens.20on.20the.20command.20line
- rust-lang/rfcs#3231 (comment)1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
0 commit comments