Skip to content

Commit

Permalink
Use a longer pack key
Browse files Browse the repository at this point in the history
There should be no difference if we use 32 random bytes or more, since
GPG's longest symmetric key is 32 bytes, but to just remove any doubt we
use a longer random passphrase.
  • Loading branch information
root committed Mar 3, 2013
1 parent e1f60d4 commit 5f7f1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-remote-gcrypt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Localdir="${GIT_DIR:=.git}/remote-gcrypt"
export GITCEPTION="${GITCEPTION:-}+" # Reuse $Gref except when stacked
Gref="refs/gcrypt/gitception$GITCEPTION"
Gref_rbranch="refs/heads/master"
Packkey_bytes=33 # 33 random bytes for passphrase, still compatible if changed
Packkey_bytes=63 # nbr random bytes for packfile keys, any >= 256 bit is ok
Hashtype=SHA256 # SHA512 SHA384 SHA256 SHA224 supported.
Manifestfile=91bd0c092128cf2e60e1a608c31e92caf1f9c1595f83f2890ef17c0e4881aa0a
Hex40="[a-f0-9]"
Expand Down

0 comments on commit 5f7f1af

Please sign in to comment.