diff options
author | Aaron Ball <nullspoon@oper.io> | 2018-10-14 13:33:32 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2018-10-14 13:35:11 -0600 |
commit | 6630d72fe9bd813e5272d1c85b723346a42900ff (patch) | |
tree | 5257f0582b4571720ba5a1d22780aa25b9645c4a /LICENSE | |
parent | 0dbb12eefe4837aed741adf49d9822b3c783bd71 (diff) | |
download | gpgsecure-master.tar.gz gpgsecure-master.tar.xz |
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