diff options
author | root <root@localhost> | 2013-02-08 09:21:21 +0000 |
---|---|---|
committer | root <root@localhost> | 2013-02-08 09:21:21 +0000 |
commit | 0e8b89f2443a9c4851ce402c67078c6d4c3a9ae1 (patch) | |
tree | 1f6753f700636977153a05bd9345d75e8ce52fce | |
parent | 5e090e019bd05c03642a9074d07f703445d99d81 (diff) | |
download | git-remote-gcrypt-0e8b89f2443a9c4851ce402c67078c6d4c3a9ae1.zip git-remote-gcrypt-0e8b89f2443a9c4851ce402c67078c6d4c3a9ae1.tar.gz git-remote-gcrypt-0e8b89f2443a9c4851ce402c67078c6d4c3a9ae1.tar.bz2 |
Fix bug with goodsig variable
-rwxr-xr-x | git-remote-gcrypt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt index df00ddc..8d17687 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -394,14 +394,14 @@ read_config() ensure_connected() { - local manifest_= rcv_repoid= r_name= url_frag= good_sig= signers_= + local manifest_= rcv_repoid= r_name= url_frag= sig_match= signer_text= if isnonnull "$Did_find_repo" then return fi Did_find_repo=no - read_config good_sig signers_ + read_config sig_match signer_text iseq "${NAME#gcrypt::}" "$URL" || r_name=$NAME @@ -460,7 +460,7 @@ ensure_connected() Did_find_repo=yes echo_info "Decrypting manifest" - manifest_=$(PRIVDECRYPT "$good_sig" "$signers_" < "$TmpManifest_Enc") && + manifest_=$(PRIVDECRYPT "$sig_match" "$signer_text" < "$TmpManifest_Enc") && isnonnull "$manifest_" || echo_die "Failed to decrypt manifest!" rm -f "$TmpManifest_Enc" |