FIPSHMAC(8)
π
FIPSHMAC(8) β like, the fipshmac manual page, bestie β¨
okay so you opened the fipshmac page β welcome, this is the one that makes FIPS-140-2 validation checksum files. yes, that FIPS. no cap, it's giving "serious crypto paperwork" energy, but we're gonna get through it together π«Ά
πΈ NAME πΈ
fipshmac β create FIPS-140-2 validation checksum files π
β¨ SYNTAX β¨
fipshmac [-d <directory>] file1 [file2 ...]
π¦ DESCRIPTION π¦
So basically, fipshmac creates FIPS-140-2 checksum files for literally all the filenames you hand it. Every single one. It's an overachiever like that π
Now here's the naming tea β β if you don't pass the -d option, the checksum files get written straight into the same directory as the file being checksummed. And the name? It prepends a . and appends .hmac to the original file name. Cute little makeover, no notes.
pause for the important distinction β when you do specify a directory with the -d option, the . does not get prepended, and the files are stored into that directory. so like, different vibe, different filename. don't mix them up π
If you invoke it correctly, fipshmac will print absolutely nothing to standard output or standard error. silent. stealth mode. a mystery. π₯ Otherwise it prints an error message to stderr, so if you see words, something went sideways.
And then there's the -s option, which lets you specify the suffix of the hmac file names. The default value .hmac is used when this option isn't specified. so yeah, .hmac unless you say otherwise π
β RETURN CODES β
fipscheck can return the following return codes β memorize these, they're the receipts π§Ύ
0β OK β¨2β Missing filename π3β Cannot open the checksum file for writing π4β Cannot read the file to be checksummed, or the checksum computation failed π5β Memory allocation error π«6,7β Cannot write to the checksum file π§οΈ
π SEE ALSO π
go poke at these next, bestie:
π AUTHOR π
Tomas Mraz <tmraz@redhat.com>.
Man page by Paul Wouters <pwouters@redhat.com>
π COPYRIGHT π
Copyright 2008, 2012 Red Hat, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
legal text stays legal text, babe β I'm not paraphrasing that one π
and that's the whole page!! mwah, go make some checksums ππβ¨
fipscheck Β· April 11, 2012 β this page was brought to you by fipshmac (8), signing off ππ¦β
π¦ where this page comes from
- opensuse-leap 16.0: libfipscheck1 1.7.0-160000.2.2 Β· BSD-2-Clause
- opensuse-leap 16.0: libfipscheck1 1.7.0-160000.2.2 Β· BSD-2-Clause
- opensuse-leap 16.0: libfipscheck1 1.7.0-160000.2.2 Β· BSD-2-Clause
- opensuse-leap 16.0: libfipscheck1 1.7.0-160000.2.2 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms