<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div>## Summary<br>
</div>
<div><br>
</div>
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).<br>
<br>
Same issue is happening when fetching for the first time from a gcrypt repo.<br>
<br>
## To reproduce<br>
<br>
Case A)<br>
```<br>
git clone gcrypt://ssh://user@server/remoterepo.git<br>
<ctrl-c><br>
```<br>
<br>
case B)<br>
```<br>
git init repo<br>
cd repo<br>
git remote add remoterepo gcrypt://ssh://user@server/remoterepo.git<br>
git fetch remoterepo<br>
<ctrl-c><br>
```<br>
<br>
## Environment<br>
<br>
Ubuntu 20.10<br>
<br>
```<br>
$ dpkg -l | grep 'ii\s*git\s'<br>
ii git 1:2.29.2-0ppa1~ubuntu20.10.1 amd64 fast, scalable, distributed revision control system<br>
<br>
<br>
$ dpkg -l | grep git-remote-gcrypt<br>
ii git-remote-gcrypt 1.3-1 all encrypted git repositories<br>
```<br>
<br>
## Workaround<br>
<br>
A valid workaround consists in specifying gcrypt-participants and gcrypt-id before fetching in case B above.<br>
<br>
I did not check whether only gcrypt-participants or gcrypt-id is needed or both.<br>
<br>
I couldn't get case A above work.<br>
<br>
<br>
</body>
</html>