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


Groups > linux.debian.user > #227287

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

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: crc not installed but rsync using it? ...
Date 2020-09-24 15:30 +0200
Message-ID <ASztT-3DJ-3@gated-at.bofh.it> (permalink)
References <ASzax-3wT-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Sep 24, 2020 at 03:09:05PM +0200, Albretch Mueller wrote:
> rsync uses crc for its data integrity checks. Why is it you can't use
> it like any other OS utility?
> 
> $ date; which crc
> Thu Sep 24 07:54:55 CEST 2020
> 

CRC is a family of checksum algorithms.  They're generally considered
to be primitive and outdated.  For the most part, you won't find
standalone tools for each CRC variant.  You could probably find one tool
that implements several of them, with options to select the one you
would like.

Tab completion tells me I've got one called "crc32" installed.

unicorn:~$ dpkg -S /usr/bin/crc32
libarchive-zip-perl: /usr/bin/crc32

>From its man page:

       Note that the CRC-32 checksum is merely used  for  error  detection  in
       transmission  and storage.  It is not intended to guard against the ma‐
       licious modification of files (i.e., it is not a cryptographic hash).

There may very well be others.  Or, you could implement the algorithm(s)
yourself in C.  It would make a nice little freshman computer science
homework assignment.

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