How to check a has sum file on FreeBSD?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Situation
I'm on FreeBSD 11.2 without GUI. I'm brand new to BSD systems.
Suppose we have a SHA512SUM
file generated on FreeBSD with:
sha512 encrypt-file-aes256 decrypt-file-aes256 > SHA512SUM
It looks different from the Linux format, which from Linux can be generated using --tag
switch:
SHA512 (encrypt-file-aes256) = 9170caaa45303d2e5f04c21732500980f3b06fc361018f953127506b56d3f2f46c95efdc291e160dd80e39b5304f327d83fe72c625ab5f31660db9c99dbfd017
SHA512 (decrypt-file-aes256) = 893693eec618542b0b95051952f9258824fe7004c360f8e6056a51638592510a704e27b707b9176febca655b7df581c9a6e2220b6511e8426c1501f6b2dd48a9
Question
How do I check this file? There is no --check
option in the man page.
Progress
So far, I am only able to manually test a single file with hard-coding the hash sum:
sha512 -c "9170caaa45303d2e5f04c21732500980f3b06fc361018f953127506b56d3f2f46c95efdc291e160dd80e39b5304f327d83fe72c625ab5f31660db9c99dbfd017" encrypt-file-aes256 && echo $?
Scripting-wise, I don't yet see a way of checking the whole SHA512SUM
file automatically.
Note, that it may contain many more files than the two as in my case.
freebsd hashsum
add a comment |Â
up vote
0
down vote
favorite
Situation
I'm on FreeBSD 11.2 without GUI. I'm brand new to BSD systems.
Suppose we have a SHA512SUM
file generated on FreeBSD with:
sha512 encrypt-file-aes256 decrypt-file-aes256 > SHA512SUM
It looks different from the Linux format, which from Linux can be generated using --tag
switch:
SHA512 (encrypt-file-aes256) = 9170caaa45303d2e5f04c21732500980f3b06fc361018f953127506b56d3f2f46c95efdc291e160dd80e39b5304f327d83fe72c625ab5f31660db9c99dbfd017
SHA512 (decrypt-file-aes256) = 893693eec618542b0b95051952f9258824fe7004c360f8e6056a51638592510a704e27b707b9176febca655b7df581c9a6e2220b6511e8426c1501f6b2dd48a9
Question
How do I check this file? There is no --check
option in the man page.
Progress
So far, I am only able to manually test a single file with hard-coding the hash sum:
sha512 -c "9170caaa45303d2e5f04c21732500980f3b06fc361018f953127506b56d3f2f46c95efdc291e160dd80e39b5304f327d83fe72c625ab5f31660db9c99dbfd017" encrypt-file-aes256 && echo $?
Scripting-wise, I don't yet see a way of checking the whole SHA512SUM
file automatically.
Note, that it may contain many more files than the two as in my case.
freebsd hashsum
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Situation
I'm on FreeBSD 11.2 without GUI. I'm brand new to BSD systems.
Suppose we have a SHA512SUM
file generated on FreeBSD with:
sha512 encrypt-file-aes256 decrypt-file-aes256 > SHA512SUM
It looks different from the Linux format, which from Linux can be generated using --tag
switch:
SHA512 (encrypt-file-aes256) = 9170caaa45303d2e5f04c21732500980f3b06fc361018f953127506b56d3f2f46c95efdc291e160dd80e39b5304f327d83fe72c625ab5f31660db9c99dbfd017
SHA512 (decrypt-file-aes256) = 893693eec618542b0b95051952f9258824fe7004c360f8e6056a51638592510a704e27b707b9176febca655b7df581c9a6e2220b6511e8426c1501f6b2dd48a9
Question
How do I check this file? There is no --check
option in the man page.
Progress
So far, I am only able to manually test a single file with hard-coding the hash sum:
sha512 -c "9170caaa45303d2e5f04c21732500980f3b06fc361018f953127506b56d3f2f46c95efdc291e160dd80e39b5304f327d83fe72c625ab5f31660db9c99dbfd017" encrypt-file-aes256 && echo $?
Scripting-wise, I don't yet see a way of checking the whole SHA512SUM
file automatically.
Note, that it may contain many more files than the two as in my case.
freebsd hashsum
Situation
I'm on FreeBSD 11.2 without GUI. I'm brand new to BSD systems.
Suppose we have a SHA512SUM
file generated on FreeBSD with:
sha512 encrypt-file-aes256 decrypt-file-aes256 > SHA512SUM
It looks different from the Linux format, which from Linux can be generated using --tag
switch:
SHA512 (encrypt-file-aes256) = 9170caaa45303d2e5f04c21732500980f3b06fc361018f953127506b56d3f2f46c95efdc291e160dd80e39b5304f327d83fe72c625ab5f31660db9c99dbfd017
SHA512 (decrypt-file-aes256) = 893693eec618542b0b95051952f9258824fe7004c360f8e6056a51638592510a704e27b707b9176febca655b7df581c9a6e2220b6511e8426c1501f6b2dd48a9
Question
How do I check this file? There is no --check
option in the man page.
Progress
So far, I am only able to manually test a single file with hard-coding the hash sum:
sha512 -c "9170caaa45303d2e5f04c21732500980f3b06fc361018f953127506b56d3f2f46c95efdc291e160dd80e39b5304f327d83fe72c625ab5f31660db9c99dbfd017" encrypt-file-aes256 && echo $?
Scripting-wise, I don't yet see a way of checking the whole SHA512SUM
file automatically.
Note, that it may contain many more files than the two as in my case.
freebsd hashsum
freebsd hashsum
asked 4 mins ago
Vlastimil
6,9401152125
6,9401152125
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476479%2fhow-to-check-a-has-sum-file-on-freebsd%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password