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


Groups > linux.debian.user > #226432 > unrolled thread

Re: Encrypt files on Linux, decrypt on Windows

Started byGreg Marks <gtmarks@gmail.com>
First post2020-08-22 23:00 +0200
Last post2020-08-22 23:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Encrypt files on Linux, decrypt on Windows Greg Marks <gtmarks@gmail.com> - 2020-08-22 23:00 +0200
    Re: Encrypt files on Linux, decrypt on Windows Joe <joe@jretrading.com> - 2020-08-22 23:50 +0200

#226432 — Re: Encrypt files on Linux, decrypt on Windows

FromGreg Marks <gtmarks@gmail.com>
Date2020-08-22 23:00 +0200
SubjectRe: Encrypt files on Linux, decrypt on Windows
Message-ID<AGIMh-5Sy-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

One cross-platform encryption method would be to use OpenSSL
(https://www.openssl.org/).  The Linux user might use the following
commands.

Encryption:
  openssl aes-256-cbc -pbkdf2 -iter 1000000 -in plaintext.txt -out ciphertext.txt
Decryption:
  openssl aes-256-cbc -pbkdf2 -iter 1000000 -d -in ciphertext.txt -out plaintext.txt

I think the two commands will be the same on a Windows machine.
Assuming both sides have agreed on a decent password, this should be
very secure.  The main difficulty for a non-technical Windows user
would probably be installing OpenSSL; the easiest way might be via a
trusted third-party binary distribution.

I'm assuming the OP is content with a symmetric cipher (he or she 
didn't say).

Best regards,
Greg Marks

[toc] | [next] | [standalone]


#226433

FromJoe <joe@jretrading.com>
Date2020-08-22 23:50 +0200
Message-ID<AGJyF-6nU-1@gated-at.bofh.it>
In reply to#226432
On Sat, 22 Aug 2020 15:43:56 -0500
Greg Marks <gtmarks@gmail.com> wrote:

> One cross-platform encryption method would be to use OpenSSL
> (https://www.openssl.org/).  The Linux user might use the following
> commands.
> 
> Encryption:
>   openssl aes-256-cbc -pbkdf2 -iter 1000000 -in plaintext.txt -out
> ciphertext.txt Decryption:
>   openssl aes-256-cbc -pbkdf2 -iter 1000000 -d -in ciphertext.txt
> -out plaintext.txt
> 
> I think the two commands will be the same on a Windows machine.
> Assuming both sides have agreed on a decent password, this should be
> very secure.  The main difficulty for a non-technical Windows user
> would probably be installing OpenSSL; the easiest way might be via a
> trusted third-party binary distribution.
> 
> I'm assuming the OP is content with a symmetric cipher (he or she 
> didn't say).
>

I think the whole thread hinges on the OP not telling us what threats
the encryption should protect against: is he trying to hide something
from the FBI/MI5/Mossad or from his nosy big sister? If the latter, a
passworded zip file is probably sufficient, and all currently supported
versions of Windows do zip natively.

-- 
Joe

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web