Use a packfile passphrase of 33 bytes, parity with 256-bit crypto

This commit is contained in:
root 2013-02-14 00:00:00 +00:00
parent e26f617761
commit c355faebe8

View file

@ -18,7 +18,7 @@ Repoid=
Hashpfx=":SHA224:"
UrlTag="G."
Packpfx="pack $Hashpfx"
Packkey_len=48 # bytes of pack key
Packkey_bytes=33
# compat/utility functions
xecho()
@ -459,7 +459,7 @@ EOF
TmpPack_Encrypted="$Localdir/tmp_pack_ENCRYPTED_.$$"
TmpObjlist="$Localdir/tmp_packrevlist.$$"
key_=$(genkey "$Packkey_len")
key_=$(genkey "$Packkey_bytes")
append "$remote_has" "$remote_want" |
git rev-list --objects --stdin -- |