summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2018-10-14 13:33:32 -0600
committerAaron Ball <nullspoon@oper.io>2018-10-14 13:35:11 -0600
commit6630d72fe9bd813e5272d1c85b723346a42900ff (patch)
tree5257f0582b4571720ba5a1d22780aa25b9645c4a /LICENSE
parent0dbb12eefe4837aed741adf49d9822b3c783bd71 (diff)
downloadgpgsecure-master.tar.gz
gpgsecure-master.tar.xz
Use gpgtar instead of gpg | tar and change write to moveHEADmaster
Added pathtoabs function to convert relative paths to absolute. This is used now because we have to change dir contexts to use gpgtar, since it doesn't support the tar change dir functionality. Variablized sleep time. Changed archive write process to a move process. This is safer and faster (though still somewhat dangerous given we write to memory and move to storage). Previoiusly, we tarred the /tmp/dec- directory, piped to gpg, and redirected stdout to the gpg archive. This was incredibly dangerous, because on larger archives, loss of power or process crash could yield a corrupted destination archive. Now we encrypte the entire archive to memory so processing time is minimally a factor, then move to storage over the old one. This significantly speeds up write operations for large archives.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions

Generated by cgit