Use a packfile passphrase of 33 bytes, parity with 256-bit crypto
This commit is contained in:
parent
e26f617761
commit
c355faebe8
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ Repoid=
|
||||||
Hashpfx=":SHA224:"
|
Hashpfx=":SHA224:"
|
||||||
UrlTag="G."
|
UrlTag="G."
|
||||||
Packpfx="pack $Hashpfx"
|
Packpfx="pack $Hashpfx"
|
||||||
Packkey_len=48 # bytes of pack key
|
Packkey_bytes=33
|
||||||
|
|
||||||
# compat/utility functions
|
# compat/utility functions
|
||||||
xecho()
|
xecho()
|
||||||
|
@ -459,7 +459,7 @@ EOF
|
||||||
|
|
||||||
TmpPack_Encrypted="$Localdir/tmp_pack_ENCRYPTED_.$$"
|
TmpPack_Encrypted="$Localdir/tmp_pack_ENCRYPTED_.$$"
|
||||||
TmpObjlist="$Localdir/tmp_packrevlist.$$"
|
TmpObjlist="$Localdir/tmp_packrevlist.$$"
|
||||||
key_=$(genkey "$Packkey_len")
|
key_=$(genkey "$Packkey_bytes")
|
||||||
|
|
||||||
append "$remote_has" "$remote_want" |
|
append "$remote_has" "$remote_want" |
|
||||||
git rev-list --objects --stdin -- |
|
git rev-list --objects --stdin -- |
|
||||||
|
|
Loading…
Reference in a new issue