Commit 8c64cfb
committed
fix: redact plaintext token in APT setup stderr output
The APT setup command previously printed the full authentication token
to stderr when showing the config preview and manual instructions.
Tokens longer than 8 characters are now displayed as first4...last4.
Closes #801 parent a0b2476 commit 8c64cfb
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
313 | 324 | | |
314 | 325 | | |
315 | 326 | | |
| |||
821 | 832 | | |
822 | 833 | | |
823 | 834 | | |
| 835 | + | |
| 836 | + | |
824 | 837 | | |
825 | 838 | | |
826 | | - | |
| 839 | + | |
827 | 840 | | |
828 | 841 | | |
829 | 842 | | |
| |||
835 | 848 | | |
836 | 849 | | |
837 | 850 | | |
838 | | - | |
| 851 | + | |
839 | 852 | | |
840 | 853 | | |
841 | 854 | | |
| |||
0 commit comments