Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #204279

Re: Looking for advice on tools (or libraries) for unsupervised, bulk symmetric encryption/decryption of files

From Celejar <celejar@gmail.com>
Newsgroups linux.debian.user
Subject Re: Looking for advice on tools (or libraries) for unsupervised, bulk symmetric encryption/decryption of files
Date 2019-01-10 04:20 +0100
Message-ID <xez2V-2md-1@gated-at.bofh.it> (permalink)
References <xemIp-3aB-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 9 Jan 2019 09:05:32 -0500
Kynn Jones <kynnjo@gmail.com> wrote:

> I am looking for software to symmetric-encrypt large numbers of files on
> disk (terabytes' worth of data), and would appreciate some advice.
> 
> My basic requirements:
> 
>    - It should be open source and no-cost (though, since I'm asking this
>    question here, this goes without saying);
>    - I should be able to program scripts (shell, Python, Perl, or Ruby) to
>    run this software without human intervention; this rules out tools that are
>    designed for interactive use.
>    - It should be stable; I should be able to decrypt encrypted files that
>    were encrypted several years earlier; (how much earlier?  hard to say;
>    let's say 10 years, as a rough ballpark)
> 
> In addition, the following would be nice:
> 
>    - good documentation;
>    - good performance;
>    - bindings for a high-level language (preferably Python).

The standard encryption technology for linux is LUKS. It works on the
block device level, not the file level. [I may be using the terminology
inaccurately.] You'll find the best compatibility, stability, and
documentation with LUKS, but you don't use it to create encrypted
copies of files - rather, you create a LUKS encrypted device, and
copy / move your files there. The LUKS tools (cryptsetup) are only
necessary for the creation and management of the encrypted volume; once
it's set up, you use the ondinary filesystem tools (cp, mv, ls, etc.)
to access files and move them to and from encrypted storage.

I believe that the most commonly used software for file level
encryption is EncFS. I haven't really used it much, and can't speak to
its long term stablity.



Celejar

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Looking for advice on tools (or libraries) for unsupervised, bulk  symmetric encryption/decryption of files Kynn Jones <kynnjo@gmail.com> - 2019-01-09 15:10 +0100
  Re: Looking for advice on tools (or libraries) for unsupervised, bulk  symmetric encryption/decryption of files David Christensen <dpchrist@holgerdanske.com> - 2019-01-09 20:00 +0100
  Re: Looking for advice on tools (or libraries) for unsupervised,          bulk symmetric encryption/decryption of files Linux-Fan <Ma_Sys.ma@web.de> - 2019-01-10 00:50 +0100
  Re: Looking for advice on tools (or libraries) for unsupervised,  bulk symmetric encryption/decryption of files Celejar <celejar@gmail.com> - 2019-01-10 04:20 +0100
    Re: Looking for advice on tools (or libraries) for unsupervised,  bulk symmetric encryption/decryption of files Jonathan Dowland <jmtd@debian.org> - 2019-01-11 22:50 +0100
      Re: Looking for advice on tools (or libraries) for unsupervised,  bulk symmetric encryption/decryption of files Celejar <celejar@gmail.com> - 2019-01-13 04:50 +0100
        Re: Looking for advice on tools (or libraries) for unsupervised, bulk  symmetric encryption/decryption of files John Crawley <john@bunsenlabs.org> - 2019-01-13 10:00 +0100
  Re: Looking for advice on tools (or libraries) for unsupervised, bulk  symmetric encryption/decryption of files Ben Caradoc-Davies <ben@transient.nz> - 2019-01-10 06:10 +0100

csiph-web