Repository navigation
KofTerm 0.7.0
Security, reliability and tests first, following the review by Mariana (@marianabsctba).
Security
- Secrets stay out of the history. A line that looks like a password, token or key (
mysql -pPASSWORD,export GITHUB_TOKEN=...,curl -u user:pass,https://user:pass@host) still runs, but it is not saved and does not teach the model. Lines that start with a space are also kept out. Secrets saved by older versions are removed on start. - Risk judged by context. Every command on the line counts (
;,&&,|...), and so dosudoor root and the current folder. There are two levels, each with its reason shown in the column:- DANGER (red, never suggested), e.g.
echo ok; rm -rf /,cd / && rm -rf *,ddonto a disk; - Caution (yellow), e.g.
curl … | sh,reboot,git push --force.
- DANGER (red, never suggested), e.g.
- The prompt marker can no longer be faked. Before, any output (a file, a page, a program asking for a password) could imitate KofTerm's invisible prompt marker and make it capture the next keystrokes. The marker now carries a random token drawn at each start.
Tests
-
New
kofterm selftest: opens KofTerm in a new terminal and checks 19 things in about 30 seconds:- exit codes;
- SIGTERM, a closed terminal and a killed bash (terminal restored, no orphan bash);
- 300,000 lines, binary output and a resize storm;
- a fake marker;
- no network socket;
- secrets kept out of the history.
CI runs it on every push. 81 unit tests.
Changed
- New "100% brasileiro" identity on the README banner, the site and the cover.
Install (no KOF needed)
sha256sum -c SHA256SUMS
tar -xzf kofterm-0.7.0-linux-x86_64.tar.gz && ./kofterm-0.7.0-linux-x86_64/kofterm install
kofterm selftestSite: https://datadotpdf.github.io/kofterm/ · Full changelog: CHANGELOG.md