delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/09/23/13:06:50

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 58NH6n6o2252676
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 58NH6n6o2252676
X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4B2C7385841D
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4B2C7385841D
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1758647132; cv=none;
b=VTp5K53Ns7buKKDvtj9AF6UFOKnhitV26ejdoI0KoXV6oyu1wSPCDXnsadyK+elZdKuagUvMqV+wrrWpwc/rR2mzB1mehEd6/hX+0jMf7YuN7NBfew8Vs6Wuj4hs1pG7NqK1t0vP5X4IzexxB37RUgEOmhVpMSnu9Rctbb+gr/M=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1758647132; c=relaxed/simple;
bh=iBOu58Nz97QTMrITPoHYl7iNO2xYMK0AyTW+j2V2xeg=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=R9kz3b2cK0StKwb6tW9e26oLox2TQEgmYkhlkGfEQDwQk2DEfDYWf3WyENp3D1EXoO53nY2sXMcBFGBod3fhLdz+0dLZDIWsqYx+0FRwQ6pLhH+r+lyTJJXcu0sB3WGrM5LzhGE/AUYZcVRybKQUCK5GysK9tspTKUOkDqXW+xA=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <6ad5d96b-7504-4215-88d1-194a12c61ef7@SystematicSW.ab.ca>
Date: Tue, 23 Sep 2025 11:05:29 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Problems installing package perl-Digest-SHA
To: cygwin AT cygwin DOT com
References: <CANtRgYeLm85_=-nX7kH1pCkvLz+rhnC4cdqN4Y+ECEcYLz2aUQ AT mail DOT gmail DOT com>
<06183285-0a4d-8858-ddc6-b90096e1c06f AT wisemo DOT com>
Organization: Systematic Software
In-Reply-To: <06183285-0a4d-8858-ddc6-b90096e1c06f@wisemo.com>
X-Stat-Signature: 5xk3zr6mkpcst654gjb1k1iya3y61hqd
X-Rspamd-Server: rspamout07
X-Rspamd-Queue-Id: 1BBAD80012
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX18Jom0EgaGNGRjc0PJJWCTIOmpq20Pf5yo=
X-HE-Tag: 1758647129-932827
X-HE-Meta: U2FsdGVkX1/4JHDZmDYf15EKQUf8Wad4Qs1RmwmwzikDAgPWYg8kBUBQ/gJggQo9VNc067kJwXvdmoT2kfdnztxtaN/xVXdhARGqp6hiB7bqYvbhixKuhWEoiA6YebqhuKTRw9pyEg+1CFkEB2QwBAElGd5DlLXAYdlw5ttCCDW0zzVoe5H8m8r3/SUkRt9CDrReXXfOEBG/mjBeXbUWII1saR158qbmBY/qh1REJAM/o/YFZnSgpReWCcXnGQN4TqldXRNUC6HxDC8G3BjN1wsD5TylZiD6BSo+MxQJZnsrzuRPic7VrJXChRLYlJs2SLjQCc3fkjpt0VxmGqjI0tXmH9muuA3V9X8jnXva+r8DkSrplHouPptin4AZ/JEs3/DRkA/YhLK1IKFyAMoKFa/jJB+1W2AH/Kx+gfr6X9TvX/nN+oQhYgdTvCO4ZU4OoVEjx/65mhwk1i2IKRliJhh5KMNgNlTkl/WxLqLqmBvgwMwDxTL9kA==
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 58NH6n6o2252676

On 2025-09-23 02:45, Jakob Bohm via Cygwin wrote:
> On 9/19/2025 12:43 PM, Eric Lilja via Cygwin wrote:
>> I noticed I was missing the "shasum" command in /usr/bin, and was told to
>> install the package perl-Digest-SHA.
>>
>> However: The Cygwin setup program displays this message if I select this
>> package:
>>
>> Problem 1/1, nothing provides perl5_032 needed by perl-Digest-SHA-6.04-1,
>> Solution 1/1, default, - do not ask to install perl-Digest-SHA-6.04-1
>>
>> Looks like the dependency tree for this package is broken?

That utility is now part of perl_base:

	$ cygcheck -f /usr/bin/shasum
	perl-5.40.3-1

which obsoletes perl-Digest-SHA and many more:

obsoletes: perl-CPAN-Meta, perl-CPAN-Meta-Requirements, perl-CPAN-Meta-YAML, 
perl-Carp, perl-Config-Perl-V, perl-Data-Alias, perl-Digest-SHA, 
perl-ExtUtils-CBuilder, perl-ExtUtils-MakeMaker, perl-Gnome2, 
perl-Gnome2-Canvas, perl-Gnome2-GConf, perl-Gnome2-Rsvg, perl-Gnome2-VFS, 
perl-Gnome2-Vte, perl-Gnome2-Wnck, perl-Gtk2, perl-Gtk2-GladeXML, 
perl-Gtk2-Notify, perl-Gtk2-SourceView2, perl-Gtk2-Spell, perl-Gtk2-Unique, 
perl-Gtk2-WebKit, perl-HTTP-Tiny, perl-IO-Socket-IP, perl-IPC-Cmd, perl-JSON-PP, 
perl-Module-Load-Conditional, perl-Module-Metadata, perl-Pod-Escapes, 
perl-Pod-Simple, perl-Socket, perl-Test-Harness, perl-Test-Simple, 
perl-Test2-Suite, perl-Unicode-Collate, perl-Unicode-Normalize, perl-Win32, 
perl-XSLoader, perl-Parse-CPAN-Meta

FYI legacy crc32:

	$ cygcheck -f /usr/bin/crc32
	perl-Archive-Zip-1.68-4

> Note that the sha1sum program worth using is built from source in GNU
> coreutils, not the perl script trying to immitate it.
> 
> I don't know how to check which Cygwin package contains which file, so
> I cannot be sure if /usr/bin/sha1sum.exe is installed by the main
> coreutils package or some extra package.

	$ cygcheck -f /usr/bin/sha1sum
	coreutils-9.0-1
	$ cygcheck -f /usr/bin/sum
	coreutils-9.0-1

Part of coreutils, `cksum` provides all the legacy sum, crc, md5, and modern 
secure hash digest interfaces, choice of command or option selection for most, 
binary, hex, or base64 output, un-/tagged, or check:

	b2sum, md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, sum

-a, --algorithm[=]

	sysv	equivalent to sum -s
	bsd	equivalent to sum -r
	crc	equivalent to cksum
	crc32b	only available through cksum
	md5	equivalent to md5sum
	sha1	equivalent to sha1sum
	sha224	equivalent to sha224sum
	sha256	equivalent to sha256sum
	sha384	equivalent to sha384sum
	sha512	equivalent to sha512sum
	blake2b	equivalent to b2sum
	sm3	only available through cksum

> If you are looking for the recalled SHA-0 algorithm (it was recalled
> when it was brand new), I don't know if it is still available as an
> "shasum" program.

Original SHA-0:
	https://nvlpubs.nist.gov/nistpubs/Legacy/FIPS/NIST.FIPS.180.pdf

Update notice with SHIFT added to XOR:
	https://www.govinfo.gov/content/pkg/FR-1994-07-11/html/94-16666.htm

Updated SHA-1:
	https://nvlpubs.nist.gov/nistpubs/Legacy/FIPS/fipspub180-1.pdf

SHA history:
	https://link.springer.com/rwe/10.1007/978-1-4419-5906-5_615

Source:
https://crypto.stackexchange.com/questions/62055/where-can-i-find-a-description-of-the-sha-0-hash-algorithm

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019