Project

General

Profile

Feature #6942

digest should be able to verify checksum

Added by Adam Števko over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Start date:
2016-05-02
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

It would be useful if digest would be able to automatically verify checksum by reading from a file. The compatibility with tools from GNU (e.g. sha*sum/md5sum..) should be used optional. FreeBSD tools (sha*/md5) have "-r", which make them compatible with GNU format.

Example:

$ root@userland:/root# sha256sum file > file.sha256sum
$ root@userland:/root# sha256sum -c file.sha256sum 
file: OK
$ root@userland:/root# digest -a sha256 -v file > file.sha256
$ root@userland:/root# digest -c file.sha256
file: OK
$ root@userland:/root# digest -r -c file.sha256sum
file: OK

History

#1

Updated by Adam Števko over 3 years ago

  • Assignee set to Adam Števko

Also available in: Atom PDF