[git-remote-gcrypt] Simple language description of the encryption mechanism

Callum Macdonald chiark.greenend.org.uk at callum-macdonald.com
Tue Oct 6 14:02:45 BST 2020


Hola,

I've spent some hours trying to understand the readme[1] and the code[2], yet I still can't figure it out.

Is there a simple English[3] version of the encryption scheme somewhere? If not, would anybody here be willing to write one?

I understand there's an encrypted manifest file which contains encryption keys for parts of the rest of the repository. Then the packfiles are encrypted. However, what happens to these encrypted packfiles is a mystery to me. In the case of the rsync / sftp backend, it's clear, I guess they're uploaded. But what happens to them for a "regular" git transport?

I'm looking to extend isomorphic-git[4] to support encrypted remotes. I am hoping to ensure interoperability with git-remote-gcrypt.

Cheers - CM.

[1] https://git.spwhitton.name/git-remote-gcrypt/about/
[2] https://git.spwhitton.name/git-remote-gcrypt/tree/git-remote-gcrypt
[3] https://simple.wikipedia.org/wiki/Simple_English_Wikipedia
[4] https://isomorphic-git.org/

--
For avoidance of doubt: This email does not constitute permission to add me to your mailing list.



More information about the sgo-software-discuss mailing list