Commit graph

6 commits

Author SHA1 Message Date
Joey Hess
6b63fb7ea2
Don't allow the type of encryption of an existing special remote to be changed.
eg, git-annex enableremote foo encryption=none will not remove encryption,
and other encryption= settings don't change the type of encryption used.
Either of which would render data stored in a special remote inaccessible.

Probably fixes reversion introduced in
71f78fe45d.
That commit got rid of the hasEncryptionConfig check, which I think would
have detected this before. I've not gone back to verify that.

Sponsored-by: mycroft
2025-08-21 13:41:00 -04:00
Joey Hess
9024d8e2d1
fixes for enabling and autoenabling mask special remotes 2025-04-11 13:18:23 -04:00
Joey Hess
f553cf411b
avoid cycles 2025-04-11 12:49:32 -04:00
Joey Hess
b81126ca48
does not support export or import 2025-04-11 12:42:49 -04:00
Joey Hess
90c502e675
mask special remote working
Still needs some handling of edge cases, cycles, etc.
2025-04-11 11:18:05 -04:00
Joey Hess
1313cc4d60
mask remotes, partial implementation
Everything implemented except for passing through to the masked remote.
Which should be trivial.
2025-04-10 13:10:07 -04:00