e219289c83
This is useful for makking a special remote that anyone with a clone of the repo and your public keys can upload files to, but only you can decrypt the files stored in it.
16 lines
812 B
Markdown
16 lines
812 B
Markdown
### Feature request
|
|
|
|
It is not possible to put encrypted content in place on remotes with just a
|
|
public GPG key. You always need the private key, even for encryption. I
|
|
guess this is because how the cipher HMAC is used for replacing file names
|
|
with their hashes. However, if that requirement (having secret file names)
|
|
was dropped, I assume a pubkey-only mode could be implemented?
|
|
|
|
My specific use case is backup archiving. I have my backups packed in
|
|
archive files and want to use git-annex to copy the archives to offsite
|
|
remotes (S3). In that case, I don't care much about hiding file names, but
|
|
would appreciate the increased security of not having the secret key on the
|
|
backup server. It would only be needed if I wanted to verify or restore
|
|
backups.
|
|
|
|
> Added "encryption=sharedpubkey" [[done]] --[[Joey]]
|