7e69063a29
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 |
||
---|---|---|
.. | ||
ActionItem.hs | ||
AdjustedBranch.hs | ||
Availability.hs | ||
Backend.hs | ||
Benchmark.hs | ||
BranchState.hs | ||
CatFileHandles.hs | ||
CleanupActions.hs | ||
Command.hs | ||
Concurrency.hs | ||
Creds.hs | ||
Crypto.hs | ||
DeferredParse.hs | ||
DesktopNotify.hs | ||
Difference.hs | ||
Direction.hs | ||
Distribution.hs | ||
Export.hs | ||
FileMatcher.hs | ||
GitConfig.hs | ||
Group.hs | ||
Import.hs | ||
IndexFiles.hs | ||
Key.hs | ||
KeySource.hs | ||
Link.hs | ||
LockCache.hs | ||
Messages.hs | ||
MetaData.hs | ||
Mime.hs | ||
NumCopies.hs | ||
ProposedAccepted.hs | ||
RefSpec.hs | ||
Remote.hs | ||
RemoteConfig.hs | ||
RemoteState.hs | ||
RepoVersion.hs | ||
ScheduledActivity.hs | ||
StallDetection.hs | ||
StandardGroups.hs | ||
StoreRetrieve.hs | ||
Test.hs | ||
Transfer.hs | ||
Transferrer.hs | ||
TransferrerPool.hs | ||
Transitions.hs | ||
TrustLevel.hs | ||
Upgrade.hs | ||
UrlContents.hs | ||
UUID.hs | ||
VectorClock.hs | ||
View.hs | ||
WorkerPool.hs |