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


Groups > linux.debian.user > #227480

Re: crc not installed but rsync using it? ...

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: crc not installed but rsync using it? ...
Date 2020-09-29 16:50 +0200
Message-ID <AUp73-4oj-9@gated-at.bofh.it> (permalink)
References <AUob0-3PG-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 29 Sep 2020 at 15:50:35 (+0200), Albretch Mueller wrote:
> On 9/24/20, Reco <recoverym4n@enotuniq.net> wrote:
> > On Thu, Sep 24, 2020 at 05:50:16PM +0200, Albretch Mueller wrote:
> >> >> How do I get all packages to be locally installed using dpkg from a
> >> >> public Windows machine?
> >> >
> >> > I'm not sure I understand this question or how it relates to the
> >> > previous one.
> >>
> >>  How do I get the deb files in order to install locally (via dpkg
> >> --install) the necessary utilities to run CRC32 and/or CRC64
> >
> > Typical Debian install has perl already, so you don't have to install
> > anything - [1].
> >
> > [1] http://billauer.co.il/blog/2011/05/perl-crc32-crc-xs-module/
> 
>  But I don't see anything when I go:
> 
>  which crc, crc32, crc64 ...

Imagine you did find an executable called crc32. What would you do
with it?

You find some data that's in an archive file called foo.zap. The
program zap claims to include a crc32 check within the archive.
Do you expect to type   crc32 --check foo.zap   and get some
meaningful output, or what?

On Tue 29 Sep 2020 at 15:48:09 (+0200), Albretch Mueller wrote:
> On 9/26/20, Michael Stone <mstone@debian.org> wrote:
> > On Sat, Sep 26, 2020 at 02:11:30PM +0200, Albretch Mueller wrote:
> >>On 9/25/20, Michael Stone <mstone@debian.org> wrote:
> >>> Just one would be good enough (pick the sha256sum). What you're doing is
> >>> a waste of time. If you want to future proof then use sha3, via the
> >>> rhash package.
> >>
> >> Something that I have noticed is that texts are too close to people's
> >>hearts to expect for people to just be technical about them. I use
> >>those three algorithms because some people "understand", md5 and not
> >>sha###sum. I mean, you may get some legacy data with their md5sum but
> >>the maintainers of the data may not be around. Once I found an rsync
> >>log that included the CRC signatures, that is why I include these
> >>kinds fo algorithms.
> >
> > Sorry, still makes no sense and is a waste of time. You're creating new
> > hashes right now, it doesn't matter if someone else might have made some
> > other hash some other time.
> 
>  But how could you have some assurance that that data relates to what
> their users thought of to be?

You can't. That's not what CRCs are for. They're not cryptographic,
so they are useless for any type of assurance that the data is intact.
Anyone modifying the data merely has to recalculate a new CRC and
substitute is for the original.

CRCs are a quick check on data segments when you're transmitting
segments of a file. If a CRC doesn't agree with its segment, you
ask for its retransmission. At the end of the transfer, you might
do a final CRC check on the whole file, for speed, but it would
be pointless to keep the number, as compared with checking the
file's MD5/SHAnnn digest if that had been archived. That's why
md5sum and shaNNNsum have a -c option.

Cheers,
David.

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

crc not installed but rsync using it? ... Albretch Mueller <lbrtchx@gmail.com> - 2020-09-24 15:10 +0200
  Re: crc not installed but rsync using it? ... Greg Wooledge <wooledg@eeg.ccf.org> - 2020-09-24 15:30 +0200
  Re: crc not installed but rsync using it? ... Thomas Pircher <thp+debian@p5r.uk> - 2020-09-24 15:40 +0200
    Re: crc not installed but rsync using it? ... Greg Wooledge <wooledg@eeg.ccf.org> - 2020-09-24 18:00 +0200
    Re: crc not installed but rsync using it? ... Albretch Mueller <lbrtchx@gmail.com> - 2020-09-24 18:00 +0200
      Re: crc not installed but rsync using it? ... Thomas Pircher <thp+debian@p5r.uk> - 2020-09-24 18:30 +0200
      Re: crc not installed but rsync using it? ... Reco <recoverym4n@enotuniq.net> - 2020-09-24 19:10 +0200
        Re: crc not installed but rsync using it? ... Albretch Mueller <lbrtchx@gmail.com> - 2020-09-29 16:00 +0200
          Re: crc not installed but rsync using it? ... Dan Ritter <dsr@randomstring.org> - 2020-09-29 16:50 +0200
          Re: crc not installed but rsync using it? ... Reco <recoverym4n@enotuniq.net> - 2020-09-29 16:50 +0200
      Re: crc not installed but rsync using it? ... Sven Hartge <sven@svenhartge.de> - 2020-09-24 20:30 +0200
        Re: crc not installed but rsync using it? ... David Wright <deblis@lionunicorn.co.uk> - 2020-09-25 01:00 +0200
          Re: crc not installed but rsync using it? ... Jonathan Dowland <jon+debian-user@dow.land> - 2020-09-25 11:40 +0200
            Re: crc not installed but rsync using it? ... David Wright <deblis@lionunicorn.co.uk> - 2020-09-26 04:50 +0200
            Re: crc not installed but rsync using it? ... Albretch Mueller <lbrtchx@gmail.com> - 2020-09-29 16:00 +0200
              Re: crc not installed but rsync using it? ... Albretch Mueller <lbrtchx@gmail.com> - 2020-09-29 16:30 +0200
                Re: crc not installed but rsync using it? ... Andrei POPESCU <andreimpopescu@gmail.com> - 2020-10-01 09:00 +0200
          Re: crc not installed but rsync using it? ... Greg Wooledge <wooledg@eeg.ccf.org> - 2020-09-25 13:50 +0200
            Re: crc not installed but rsync using it? ... Albretch Mueller <lbrtchx@gmail.com> - 2020-09-25 14:00 +0200
              Re: crc not installed but rsync using it? ... Gene Heskett <gheskett@shentel.net> - 2020-09-25 15:10 +0200
                Re: crc not installed but rsync using it? ... John Hasler <jhasler@newsguy.com> - 2020-09-25 15:30 +0200
                Re: crc not installed but rsync using it? ... Gene Heskett <gheskett@shentel.net> - 2020-09-25 16:00 +0200
                Re: crc not installed but rsync using it? ... John Hasler <jhasler@newsguy.com> - 2020-09-25 18:10 +0200
                Re: crc not installed but rsync using it? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2020-09-25 18:20 +0200
                Re: crc not installed but rsync using it? ... John Hasler <jhasler@newsguy.com> - 2020-09-25 19:40 +0200
                Re: crc not installed but rsync using it? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2020-09-25 20:20 +0200
                Re: crc not installed but rsync using it? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2020-09-26 00:10 +0200
                Re: crc not installed but rsync using it? ... John Hasler <jhasler@newsguy.com> - 2020-09-26 00:30 +0200
                Re: crc not installed but rsync using it? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2020-09-26 00:50 +0200
                Re: crc not installed but rsync using it? ... Gene Heskett <gheskett@shentel.net> - 2020-09-25 19:00 +0200
                Re: crc not installed but rsync using it? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2020-09-26 00:20 +0200
                Re: crc not installed but rsync using it? ... Gene Heskett <gheskett@shentel.net> - 2020-09-26 00:50 +0200
                Re: crc not installed but rsync using it? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2020-09-26 01:00 +0200
                Re: crc not installed but rsync using it? ... mick crane <mick.crane@gmail.com> - 2020-09-26 02:00 +0200
                Re: crc not installed but rsync using it? ... Dan Ritter <dsr@randomstring.org> - 2020-09-26 16:50 +0200
                Re: crc not installed but rsync using it? ... Michael Stone <mstone@debian.org> - 2020-09-25 16:30 +0200
                Re: crc not installed but rsync using it? ... Gene Heskett <gheskett@shentel.net> - 2020-09-25 17:00 +0200
                Re: crc not installed but rsync using it? ... Michael Stone <mstone@debian.org> - 2020-09-25 17:30 +0200
                Re: crc not installed but rsync using it? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2020-09-25 17:40 +0200
                Re: crc not installed but rsync using it? ... Andrei POPESCU <andreimpopescu@gmail.com> - 2020-09-25 17:10 +0200
                Re: crc not installed but rsync using it? ... Tixy <tixy@yxit.co.uk> - 2020-09-25 18:30 +0200
                Re: crc not installed but rsync using it? ... Brian <ad44@cityscape.co.uk> - 2020-09-25 20:00 +0200
        Re: crc not installed but rsync using it? ... Albretch Mueller <lbrtchx@gmail.com> - 2020-09-25 13:50 +0200
          Re: crc not installed but rsync using it? ... Dan Ritter <dsr@randomstring.org> - 2020-09-25 15:00 +0200
          Re: crc not installed but rsync using it? ... Michael Stone <mstone@debian.org> - 2020-09-25 15:50 +0200
            Re: crc not installed but rsync using it? ... Albretch Mueller <lbrtchx@gmail.com> - 2020-09-26 14:20 +0200
              Re: crc not installed but rsync using it? ... Michael Stone <mstone@debian.org> - 2020-09-26 22:20 +0200
                Re: crc not installed but rsync using it? ... Albretch Mueller <lbrtchx@gmail.com> - 2020-09-29 15:50 +0200
                Re: crc not installed but rsync using it? ... David Wright <deblis@lionunicorn.co.uk> - 2020-09-29 16:50 +0200
                Re: crc not installed but rsync using it? ... Fabrice BAUZAC-STEHLY <noon@mykolab.com> - 2020-10-01 13:30 +0200
          Re: crc not installed but rsync using it? ... Andrei POPESCU <andreimpopescu@gmail.com> - 2020-09-25 16:50 +0200

csiph-web