adjust up2k hashlen to match base64 window

This commit is contained in:
ed
2021-06-20 15:32:36 +02:00
parent e3031bdeec
commit be055961ae
5 changed files with 44 additions and 96 deletions

View File

@@ -439,7 +439,7 @@ quick summary of more eccentric web-browsers trying to view a directory index:
copyparty returns a truncated sha512sum of your PUT/POST as base64; you can generate the same checksum locally to verify uplaods:
b512(){ printf "$((sha512sum||shasum -a512)|sed -E 's/ .*//;s/(..)/\\x\1/g')"|base64|head -c43;}
b512(){ printf "$((sha512sum||shasum -a512)|sed -E 's/ .*//;s/(..)/\\x\1/g')"|base64|head -c44;}
b512 <movie.mkv