mirror of
https://github.com/9001/copyparty.git
synced 2026-03-25 01:22:44 +10:00
adjust up2k hashlen to match base64 window
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user