Package: util-linux Version: 2.38.1-5+deb12u1 Severity: wishlist Tags: upstream X-Debbugs-Cc: debbug.util-li...@sideload.33mail.com
The /script/ command will faithfully capture a session including anything sensitive. The resulting typescript is binary which hinders efforts to edit out sensitive information. This forces users into the dilemma of disclosing their script in full (including sensitive info), or not collaborating at all. Users need to be able to edit the transcript in a text editor to redact any sensitive or irrelevant bulky content. There is also a practical problem in general. Binary typescript cannot be pasted into a pastebin. Some pastebin services have a “typescript” data type, but this is actually an unfortunate language clash (“typescript” is actually a programming language, unrelated). A common use case of /script/ is to capture problems, study the output for diagnosis, and share the output with expert collaborators. The sharing is often done with pastebin services. But those UIs only accommodate raw text. Bug trackers will accept binary attachments but then others need to have the tools and knowledge to handle typescript. The mere extra hurdle dissuades some people from looking at the bug report. Pasting the output text into the body of a bug report invites more participation because it’s more convenient for readers. So a feature is needed to convert typescript into text. I was surprised to discover that the /scriptreplay/ command does not have a feature to convert to raw text. -- System Information: Debian Release: 12.5 APT prefers stable-updates APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-21-amd64 (SMP w/2 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages util-linux depends on: ii libblkid1 2.38.1-5+deb12u1 ii libc6 2.36-9+deb12u7 ii libcap-ng0 0.8.3-1+b3 ii libcrypt1 1:4.4.33-2 ii libmount1 2.38.1-5+deb12u1 ii libpam0g 1.5.2-6+deb12u1 ii libselinux1 3.4-1+b6 ii libsmartcols1 2.38.1-5+deb12u1 ii libsystemd0 252.22-1~deb12u1 ii libtinfo6 6.4-4 ii libudev1 252.22-1~deb12u1 ii libuuid1 2.38.1-5+deb12u1 ii util-linux-extra 2.38.1-5+deb12u1 ii zlib1g 1:1.2.13.dfsg-1 Versions of packages util-linux recommends: ii sensible-utils 0.0.17+nmu1 Versions of packages util-linux suggests: ii dosfstools 4.2-1 ii kbd 2.5.1-1+b1 pn util-linux-locales <none> -- no debconf information