[git-remote-gcrypt] Cloning a gcrypt repo enters an infinite loop

Oliv... ier oliv5kta at hotmail.com
Sat Jan 23 17:37:26 GMT 2021


## Summary

Cloning a gcrypt repo leads to an infinite loop of new git fetch commands. Each new command has an additional '+' in its command line. The loop stops by killing the clone process (ctrl-c).

Same issue is happening when fetching for the first time from a gcrypt repo.

## To reproduce

Case A)
```
git clone gcrypt://ssh://user@server/remoterepo.git
<ctrl-c>
```

case B)
```
git init repo
cd repo
git remote add remoterepo gcrypt://ssh://user@server/remoterepo.git
git fetch remoterepo
<ctrl-c>
```

## Environment

Ubuntu 20.10

```
$ dpkg -l | grep 'ii\s*git\s'
ii  git                                                         1:2.29.2-0ppa1~ubuntu20.10.1               amd64        fast, scalable, distributed revision control system


$ dpkg -l | grep git-remote-gcrypt
ii  git-remote-gcrypt                                           1.3-1                                      all          encrypted git repositories
```

## Workaround

A valid workaround consists in specifying gcrypt-participants and gcrypt-id before fetching in case B above.

I did not check whether only gcrypt-participants or gcrypt-id is needed or both.

I couldn't get case A above work.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.chiark.greenend.org.uk/pipermail/sgo-software-discuss/attachments/20210123/6075c24b/attachment.html>


More information about the sgo-software-discuss mailing list