Comments on: File encryption on the command line https://backreference.org/2014/08/15/file-encryption-on-the-command-line/ Proudly uncool and out of fashion Tue, 13 Mar 2018 16:11:39 +0000 hourly 1 https://wordpress.org/?v=5.8.2 By: waldner https://backreference.org/2014/08/15/file-encryption-on-the-command-line/#comment-25342 Tue, 13 Mar 2018 16:11:39 +0000 http://backreference.org/?p=4025#comment-25342 In reply to Dan.

Indeed, and in two places. I've fixed it. Thanks!

]]>
By: Dan https://backreference.org/2014/08/15/file-encryption-on-the-command-line/#comment-25341 Tue, 13 Mar 2018 16:00:43 +0000 http://backreference.org/?p=4025#comment-25341 The following line seems to be missing the -d flag (which tells aespipe to decrypt instead of encrypt)

aespipe -e aes256 -K keys.enc.sym plain.txt

should be

aespipe -d -e aes256 -K keys.enc.sym plain.txt

]]>
By: owais https://backreference.org/2014/08/15/file-encryption-on-the-command-line/#comment-25218 Wed, 02 Sep 2015 10:29:55 +0000 http://backreference.org/?p=4025#comment-25218 Awsome post it really helped me out for non interactive mode.
gpg --batch --yes --no-use-agent --passphrase "passwd" --symmetric --cipher-algo AES192 --output encrypted.enc my-rawfile.txt

]]>
By: waldner https://backreference.org/2014/08/15/file-encryption-on-the-command-line/#comment-25164 Thu, 08 Jan 2015 14:20:24 +0000 http://backreference.org/?p=4025#comment-25164 In reply to Daniel Morris.

Thanks for sharing your findings!

]]>
By: Daniel Morris https://backreference.org/2014/08/15/file-encryption-on-the-command-line/#comment-25163 Thu, 08 Jan 2015 13:59:49 +0000 http://backreference.org/?p=4025#comment-25163 7z can also decrypt and encrypt with AES256 with "regular" zip archives. I just found this useful exchanging files with a Windows user who's corporate standard was AES256/zip. Decrypt was obvious, but encrypt wasn't quite so, when I came to give data back:-

$ 7z a -mem=AES256 -p archive.zip foo bar

Without the -mem flag it seemed to apply some simplistic method which meant regular 'unzip' could open (when given the right password). Whereas unzip whinged uniformly, just like when I received the original archive

$ unzip archive.zip
#Archive: archive.zip
# skipping: foo need PK compat. v5.1 (can do v4.5)
# skipping: bar need PK compat. v5.1 (can do v4.5)

I think the GNOME File Roller utility might hide much of the details for GNOME users, but ark under KDE misses an AES256 for regular zip archives option.

]]>