git-annex/Remote/Helper
Joey Hess 7e69063a29
support annex.shared-sop-command for encryption=shared
This works well, and it interoperates with gpg in my testing (although some
SOP commands might choose to use a profile that does not so caveat emptor).

Note that for creating the Cipher, gpg --gen-random is still used. SOP
does not have an eqivilant, and as long as the user has gpg around,
which seems likely, it doesn't matter that it uses gpg here, it's not being
used for encryption. That seemed better than implementing a second way
to get high quality entropy, at least for now.

The need for the sop command to run in an empty directory has each call
to encrypt and decrypt creating a new temporary directory. That is some
unncessary overhead, though probably swamped by the overhead of running
the sop command. This could be improved in the future by passing an
already empty directory to them, or a sufficiently empty directory
(.git/annex/tmp would probably suffice).

Sponsored-by: Brett Eisenberg on Patreon
2024-01-12 13:31:18 -04:00
..
Chunked filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
AWS.hs correct obsolete comment 2023-01-31 14:42:26 -04:00
Chunked.hs support annex.shared-sop-command for encryption=shared 2024-01-12 13:31:18 -04:00
Encryptable.hs more groundwork for StatelessOpenPGP 2024-01-12 13:11:36 -04:00
ExportImport.hs speed up very first tree import by 25% 2023-06-02 13:30:30 -04:00
Git.hs implement Unavilable for gcrypt 2023-08-16 15:54:54 -04:00
Hooks.hs avoid annexFileMode special case 2023-04-27 15:58:37 -04:00
Http.hs git-lfs gitlab interoperability fix 2021-11-10 13:51:11 -04:00
Messages.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
P2P.hs remove git-annex-shell compat code 2021-10-11 15:36:51 -04:00
Path.hs implement Unavilable for borg bup ddar directory rsync 2023-08-16 15:48:09 -04:00
ReadOnly.hs convert renameExport to throw exception 2020-05-15 15:08:09 -04:00
Special.hs incremental verification for retrieval from all export remotes 2022-05-09 13:49:33 -04:00
Ssh.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
ThirdPartyPopulated.hs ImportableContentsChunkable 2021-10-08 13:15:22 -04:00