[[!comment format=mdwn
 username="xwvvvvwx"
 avatar="http://cdn.libravatar.org/avatar/7198160b33539b5b1b2d56ca85c562d9"
 subject="comment 14"
 date="2019-11-21T17:32:31Z"
 content="""
I just reproduced this when pushing to a gcrypt remote on rsync.net using the assistant. There is only one client pushing to the gcrypt remote.

It was during the initial sync of a moderately large amount of data (~22G), perhaps this has something to do with it?

I could reproduce the issue by cloning with gcrypt directly (`git clone gcrypt::ssh://....`).

I was able to recover by following the steps outlined in Schnouki's comment (#12), but this is obviously quite an unsatisfactory fix. 

I am using annex to replicate important personal data, and I find this issue highly concerning.

Foolishly, I did not keep a copy of the bad repo before I forced pushed over it on the remote, so I do not have a copy available to experiment with :(

---

## logs

`daemon.log` excerpt: [https://ipfs.io/ipfs/QmcoPuTLY2v5FWPABQLVwgyqW5WdsvkBbVS33cJh6zjzi4](https://ipfs.io/ipfs/QmcoPuTLY2v5FWPABQLVwgyqW5WdsvkBbVS33cJh6zjzi4)


`git clone` output:

```
[annex@xwvvvvwx:~]$ git clone gcrypt::ssh://<URL> remote
Cloning into 'remote'...
gcrypt: Decrypting manifest
gpg: Signature made Thu 21 Nov 2019 04:02:40 PM CET
gpg:                using RSA key 92E9F58E9F8C6845423C251AACD9A98951774194
gpg: Good signature from \"git-annex <annex@xwvvvvwx.com>\" [ultimate]
gcrypt: Remote ID is :id:tWrcOFKu2yX7y+jLDLxm
gcrypt: Packfile e7b619864585f3c921b491fd041127cf0ae33c4480810610dcb2e37ec46a82be does not match digest!
fatal: early EOF
```

`git annex version`:

```
git-annex version: 7.20191114
build flags: Assistant Webapp Pairing S3 WebDAV Inotify DBus DesktopNotify TorrentParser MagicMime Feeds Testsuite
dependency versions: aws-0.21.1 bloomfilter-2.0.1.0 cryptonite-0.25 DAV-1.3.3 feed-1.2.0.1 ghc-8.6.5 http-client-0.6.4 persistent-sqlite-2.9.3 torrent-10000.1.1 uuid-1.3.13 yesod-1.6.0
key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 BLAKE2B256E BLAKE2B256 BLAKE2B512E BLAKE2B512 BLAKE2B160E BLAKE2B160 BLAKE2B224E BLAKE2B224 BLAKE2B384E BLAKE2B384 BLAKE2BP512E BLAKE2BP512 BLAKE2S256E BLAKE2S256 BLAKE2S160E BLAKE2S160 BLAKE2S224E BLAKE2S224 BLAKE2SP256E BLAKE2SP256 BLAKE2SP224E BLAKE2SP224 SHA1E SHA1 MD5E MD5 WORM URL
remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav adb tahoe glacier ddar git-lfs hook external
operating system: linux x86_64
supported repository versions: 7
upgrade supported from repository versions: 0 1 2 3 4 5 6
```
"""]]
