dd86k / ddgst

#️⃣ dd's hashing utility with a twist
Creative Commons Zero v1.0 Universal
11 stars 0 forks source link

Making BSD/GNU tag names mainlined #17

Closed dd86k closed 8 months ago

dd86k commented 2 years ago

Currently the --tag switch outputs OpenSSL compatible tag names like SHA2-512, but GNU coreutils and BSD utilities will use SHA512.

At least in v2.0.1-3-g93c8ed3, both styles in check files mode is supported, but otherwise only the OpenSSL style is used on output.

Though now the question is, do I only add --tag2 for BSD style or make --tag for BSD style and move OpenSSL to --tag2...

dd86k commented 1 year ago

On second thought:

Therefore:

dd86k commented 8 months ago

Both GNU and BSD tag names are checked in ddgst 3.0. Uses BSD tag names for writing digests to stdout.