Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #226144 > unrolled thread

RFE: a "testcd" (a la knoppix) option for the debian DVD?

Started byAlbretch Mueller <lbrtchx@gmail.com>
First post2020-08-12 17:10 +0200
Last post2020-08-14 15:20 +0200
Articles 3 — 1 participant

Back to article view | Back to linux.debian.user


Contents

  RFE: a "testcd" (a la knoppix) option for the debian DVD? Albretch Mueller <lbrtchx@gmail.com> - 2020-08-12 17:10 +0200
    Re: RFE: a "testcd" (a la knoppix) option for the debian DVD? Albretch Mueller <lbrtchx@gmail.com> - 2020-08-13 18:20 +0200
      Re: RFE: a "testcd" (a la knoppix) option for the debian DVD? Albretch Mueller <lbrtchx@gmail.com> - 2020-08-14 15:20 +0200

#226144 — RFE: a "testcd" (a la knoppix) option for the debian DVD?

FromAlbretch Mueller <lbrtchx@gmail.com>
Date2020-08-12 17:10 +0200
SubjectRFE: a "testcd" (a la knoppix) option for the debian DVD?
Message-ID<AD0y6-1ry-15@gated-at.bofh.it>
On 8/12/20, Albretch Mueller <lbrtchx@gmail.com> wrote:
>
>

[toc] | [next] | [standalone]


#226170

FromAlbretch Mueller <lbrtchx@gmail.com>
Date2020-08-13 18:20 +0200
Message-ID<ADo7n-7jz-1@gated-at.bofh.it>
In reply to#226144
 It always amazes me when computer people rely on syntactical devices
for any kinds of tests (like everything is so obvious, right? ;-));
let alone, integrity, security, "privacy" related ones (or that thing
they used to call "privacy").

> The testcd option for Knoppix is checksumming as far as I know.

 Yes, but you can test the content of the DVD right off the physical
read-only thing, unalterable whenever you want and disconnected to the
Internet, which you could then verify further by going online and
downloading all signatures if you so decide ...

 The only thing that remains to be trusted nowadays is the mind-body
link, so all kinds of "tests" should have a endogenously free,
mind-related, optimally one-time aspect that they can't control.

 To wit (for you to have more reasons to think I am "crazy", but as
they say: "mark my words"). There is this thing USG is doing as part
of their social control programs, they call "multiversing" (the
opposite being "universing", which they also do) which is basically
that they have so much control over all aspects of the lives of every
one of us and can target their harassment so accurately, that they
can, quite effectively, jail you in a "virtual cage" only you would
notice, be aware of. It is called (social control, Zersetzung-kind of)
"targeting" ...

 They even made Durerte believe God was talking to him ;-)

 https://www.nytimes.com/2016/10/29/world/asia/president-duterte-says-god-told-him-to-swear-off-the-curse-words.html

 You could hear clear voices talking to you with semantic depth and
having a protracted conversation with you while your spouse trying to
sleep right next to you can't hear anything (so, s/he will think you
are going mad), or you forget your car keys and "the voices" tell you
and tease you as you look for them, ... Some people have committed
suicide.

 I know, I know what I have related is totally off topic (or not!)

 lbrtchx

On 8/13/20, Andrew Cater <amacater@gmail.com> wrote:
> How are you downloading your media? if you use jigdo to make it, it is
> checksummed and tested at the final stage.
>
> http://flosslinuxblog.blogspot.com/2020/07/a-quick-post-on-how-to-use-jigdo-to.html
>
> If you download it via HTTP, you are using signatures and checksums to
> verify the integrity of the download, aren't you?
>
> http://flosslinuxblog.blogspot.com/2020/07/how-to-use-signed-checksum-files-to.html
>
> If you write the medium to a USB stick, what options are you using?
>
> The testcd option for Knoppix is checksumming as far as I know.
>
> [The links are to Planet Debian blogs written by me only because these
> questions have come up before, nothing more.]

[toc] | [prev] | [next] | [standalone]


#226193

FromAlbretch Mueller <lbrtchx@gmail.com>
Date2020-08-14 15:20 +0200
Message-ID<ADHMK-2rc-1@gated-at.bofh.it>
In reply to#226170
 anything "ephemeral" and having a(n apparently) "simple" only way of
doing things play into their games.

 They are using javascript to get into and mess with people's
computers/life. They can change both the link to the installation file
to be downloaded and to the signatures of the files on the fly when
they notice you are trying to get out of "your jail" ...

 If you have the signatures right on the DVD as knoppix does and that
write-once media you can test off line, that would make things much
harder for them. One of the "technical" problems with such bs is that
you have to have total contral and people have no minds for it to be
truly effective.

 The initial installation disk I am using ("d-live 9.4.0 kd amd64")
contains only 704 files:
~
_SDIR="/media/cdrom0"

ls -l "${_SDIR}"

_DT=$(date +%Y%m%d%H%M%S)

_LOG_PRFX=$(basename "${_SDIR}")_${_DT}
echo "// __ \$_LOG_PRFX: |$_LOG_PRFX|"

_TMPFL="${_LOG_PRFX}_$(mktemp ${_DT}.XXXXXX)_temp.ls"
echo "// __ \$_TMPFL: |${_TMPFL}|"

_OFL="${_LOG_PRFX}_find_sort.ls"
echo "// __ \$_OFL: |${_OFL}|"

_ERRS_FL="${_LOG_PRFX}_find_errors.log"
echo "// __ \$_ERRS_FL: |${_ERRS_FL}|"

time( find "${_SDIR}" -type f -printf '%s|%d|%P\n' > "${_TMPFL}" 2>
"${_ERRS_FL}" ) 2>> "${_ERRS_FL}"

ls -l "${_ERRS_FL}"
wc -l "${_ERRS_FL}"

tail -n 10 "${_ERRS_FL}"

kwrite "${_ERRS_FL}" &

env LC_COLLATE=C sort  --field-separator="|" -V --key 2,2 --key 3,3
"${_TMPFL}" > "${_OFL}"

rm --force --verbose "${_TMPFL}"

ls -l "${_OFL}"
wc -l "${_OFL}"

kwrite "${_OFL}" &
~
_TEST_FL="${_SDIR}/pool/main/u/util-linux/libblkid1-udeb_2.29.2-1_amd64.udeb"

time md5sum -b "${_TEST_FL}"
time sha256sum -b "${_TEST_FL}"

$ time md5sum -b "${_TEST_FL}"
616f56c4e1bc5a28e5e9efe8b765e4f0
*/media/cdrom0/pool/main/u/util-linux/libblkid1-udeb_2.29.2-1_amd64.udeb

real    0m2.812s
user    0m0.008s
sys     0m0.000s

$ time sha256sum -b "${_TEST_FL}"
cdf76fd21df8fef5ce2bef79319d545e782822a55b5a8d7fd3d6ae1eb85043ee
*/media/cdrom0/pool/main/u/util-linux/libblkid1-udeb_2.29.2-1_amd64.udeb

real    0m0.061s
user    0m0.004s
sys     0m0.000s
$
~
 so, roughly 700 * (32 + 64) = 66Kb of uncompressed data for the
md5sum and sha256sum signatures of the files. That figure would be
greater for blends but I think it would be very small anyway and very
worthy. those 66Kb could be made even smaller if the paths in the fs
description file with the signatures is turned into tree based on
indexes.

 Debian could even make it better than knoppix (in addition to
including a memtest option right on the DVD ;-)) it could give the
options to:

 1) decrypt transfer data from backups once the installation is finished
 2) reset/reinstall just one set of applications (libreoffice) or a
single application (say firefox, or writer)

 I don't think that implementing that should be that difficult and if
a "toram" option is included right on the live option of the
installation DVD, that would make Debian closer to being "better than
sex" ;-).

 That was only a suggestion, rough "proof of concept" I am sure the
maintainers will find better ways of doing what I described.

 lbrtchx

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web