log shasum.py @ 332:5b98810fe367

age author description
Wed, 26 Mar 2025 18:42:23 +0100 Franz Glasner Adopt copyright and license wordings from https://reuse.software/faq/.
Wed, 01 Jan 2025 18:57:25 +0100 Franz Glasner Move the real computation of digests from files and streams into dedicated submodule cutils.util.digest
Sun, 29 Dec 2024 18:34:22 +0100 Franz Glasner Adjust copyright year of shasum to 2024
Sun, 22 Dec 2024 21:17:27 +0100 Franz Glasner Style
Sat, 26 Feb 2022 19:35:41 +0100 Franz Glasner Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Sat, 26 Feb 2022 18:55:57 +0100 Franz Glasner "compare_digests_equal()" now accepts binary (aka un-encoded) expected digests also
Sat, 26 Feb 2022 17:48:20 +0100 Franz Glasner Use "hmac.compare_digest()" where available
Sat, 26 Feb 2022 17:31:40 +0100 Franz Glasner Writing style: Begin all help messages with an uppercase letter
Sat, 26 Feb 2022 17:24:06 +0100 Franz Glasner "compute_digest_file()" now also accepts an already opened file descriptor.
Sat, 26 Feb 2022 14:08:24 +0100 Franz Glasner Flag to disable the use of mmap
Sat, 26 Feb 2022 13:56:13 +0100 Franz Glasner Handle EAGAIN and EWOULDBLOCK when reading files
Wed, 09 Feb 2022 12:00:27 +0100 Franz Glasner Use getattr when trying to get mmap.madvise()
Tue, 08 Feb 2022 21:45:14 +0100 Franz Glasner Use madvise if available to sequentially read a file
Tue, 08 Feb 2022 21:27:13 +0100 Franz Glasner Use more optimizes files flags if available: O_SEQUENTIAL and O_NOCTTY
Tue, 08 Feb 2022 20:31:25 +0100 Franz Glasner Enhance comments
Tue, 08 Feb 2022 17:13:15 +0100 Franz Glasner Common initialization is now common when computing the hashes from a mmap
Tue, 08 Feb 2022 17:09:52 +0100 Franz Glasner FIX: Docstring: Computes hashes are now returned as bytes from the low-level functions
Wed, 26 Jan 2022 14:49:24 +0100 Franz Glasner More proper formal checks (with regexp) for valid hex and base64 encoding of digests
Wed, 26 Jan 2022 14:15:43 +0100 Franz Glasner Implement the OpenBSD variant (with --base64) to encode digests in base64, not hexadecimal
Wed, 19 Jan 2022 09:14:34 +0100 Franz Glasner Allow internal output redirection: print() always to explicitely given file objects
Wed, 19 Jan 2022 01:03:33 +0100 Franz Glasner Enhance shasum.py to allow it to be used as Python module from within other programs more easily
Wed, 19 Jan 2022 00:16:43 +0100 Franz Glasner Extend copyright year to 2022
Tue, 18 Jan 2022 12:14:15 +0100 Franz Glasner Typo in docs
Mon, 07 Dec 2020 09:30:53 +0100 Franz Glasner Put the version number info the optinal common module _cutils.py
Mon, 07 Dec 2020 02:52:30 +0100 Franz Glasner Put the HG revision into the version output also
Mon, 07 Dec 2020 02:47:35 +0100 Franz Glasner FIX: RCS keyword syntax
Sun, 06 Dec 2020 13:49:01 +0100 Franz Glasner Optimized reading of files by using mmap.
Sat, 05 Dec 2020 15:08:46 +0100 Franz Glasner Implemented OpenBSD's -C (aka --checklist) option for shasum
Sat, 05 Dec 2020 13:32:00 +0100 Franz Glasner Refactor: parse a line of a digest file within a dedicated funcion
Sat, 05 Dec 2020 12:54:44 +0100 Franz Glasner Do not append "-" to an empty FILE list any more but check explicitely for an empty list
Sat, 05 Dec 2020 00:13:27 +0100 Franz Glasner Convert backslashes in filenames to forward slashes when creating digests
Fri, 04 Dec 2020 23:22:30 +0100 Franz Glasner When verifying/checking digests: also print the digest tag used
Fri, 04 Dec 2020 23:06:48 +0100 Franz Glasner Extend help messages
Fri, 04 Dec 2020 17:41:34 +0100 Franz Glasner +++++ v0.1 v0.1
Fri, 04 Dec 2020 17:41:17 +0100 Franz Glasner Implement a version option
Fri, 04 Dec 2020 17:37:56 +0100 Franz Glasner Implemented digest verification: -c or --check option
Fri, 04 Dec 2020 16:13:02 +0100 Franz Glasner FIX: "msvcrt" is a top-level module on Windows
Fri, 04 Dec 2020 16:10:41 +0100 Franz Glasner Move the digest generation loop from "main()" into an own function "generate_digests()".
Fri, 04 Dec 2020 15:50:28 +0100 Franz Glasner Some more output selection options and documentation
Fri, 04 Dec 2020 15:18:40 +0100 Franz Glasner Change the default algorithm to SHA1 to be compatible with Perl's shasum
Fri, 04 Dec 2020 15:16:20 +0100 Franz Glasner Allow algorithm selection for all algorithms in :mod:`hashlib`.
Fri, 04 Dec 2020 13:15:53 +0100 Franz Glasner Help message: drop "yet" for text-mode flag
Fri, 04 Dec 2020 13:14:47 +0100 Franz Glasner Handle standard and BSD-style output formats
Fri, 04 Dec 2020 12:37:29 +0100 Franz Glasner FIX: "-" filename handling now consistent with Perl shasum
Fri, 04 Dec 2020 12:05:55 +0100 Franz Glasner Add comman line switches for reading in binary and text mode
Fri, 04 Dec 2020 11:41:25 +0100 Franz Glasner Basic hashing with proper binary stdin/stdout support for Py2, Py3 and Windows
Thu, 03 Dec 2020 09:05:35 +0100 Franz Glasner Begin the shasum.py script