aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/feature_request__58___pubkey-only_encryption_mode.mdwn
blob: 5a3c1088563a668c082cd8fb9316a9600a809d25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
### 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]]