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