Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #226391
| From | Linux-Fan <Ma_Sys.ma@web.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Encrypt files on Linux, decrypt on Windows |
| Date | 2020-08-21 22:00 +0200 |
| Message-ID | <AGlmF-dM-5@gated-at.bofh.it> (permalink) |
| References | <AGjkR-7v0-7@gated-at.bofh.it> <AGjXz-7X7-9@gated-at.bofh.it> <AGkJX-8sz-5@gated-at.bofh.it> <AGkJX-8sz-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
john doe writes: > On 8/21/2020 9:11 PM, David Christensen wrote: >> On 2020-08-21 11:24, Linux-Fan wrote: [...] >>> Encrypt on Linux: >>> $ 7z a -ptestwort -mhe=on secret.7z secret.txt >>> >>> Decrypt on Windows: Double-Click or use commandline: >>> % 7z x -o. secret.7z >> >> >> So, the recipient must install 7-Zip on their Windows computer? In that example: Yes or use a 7z.exe obtained from the website without installation. [...] > To the OP, look at creating a self extracting archive (not sure if it > works from Linux to Windows though). It works from Linux to Windows, but it is trickier than I had imagined: On Linux: * Go to https://www.7-zip.org/download.html and download 64-bit x64 * Extract file 7z1900-x64.exe with 7z. $ mkdir sub $ 7z x -osub 7z1900-x64.exe * Copy 7z.sfx from the extracted installer $ cp sub/7z.sfx . * Create SFX archive for Windows $ 7z a -mhe=on -ptestwort -sfx7z.sfx mysfx.exe secret.txt * Send file `mysfx.exe` to the Windows user On Windows: * Run `mysfx.exe` -- it prompts for the password (`testwort`). I nowdays prefer the portable/installed version over SFX archives because uncommon executables are often rejected by antivirus software (especially .exe attachments to e-mails are prone to being deleted for security reasons...). Although most scanners seem to be fine with a generated SFX archive at the moment: https://www.virustotal.com/gui/file/e2dd36862c27e1551916ed3e773a55ecedf2b35e658522fa982369cc90eaf488/detection [...] HTH Linux-Fan
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Encrypt files on Linux, decrypt on Windows local10 <local10@tutanota.com> - 2020-08-21 19:50 +0200
Re: Encrypt files on Linux, decrypt on Windows john doe <johndoe65534@mail.com> - 2020-08-21 20:20 +0200
Re: Encrypt files on Linux, decrypt on Windows Linux-Fan <Ma_Sys.ma@web.de> - 2020-08-21 20:30 +0200
Re: Encrypt files on Linux, decrypt on Windows David Christensen <dpchrist@holgerdanske.com> - 2020-08-21 21:20 +0200
Re: Encrypt files on Linux, decrypt on Windows john doe <johndoe65534@mail.com> - 2020-08-21 21:20 +0200
Re: Encrypt files on Linux, decrypt on Windows Linux-Fan <Ma_Sys.ma@web.de> - 2020-08-21 22:00 +0200
Re: Encrypt files on Linux, decrypt on Windows Teemu Likonen <tlikonen@iki.fi> - 2020-08-21 22:40 +0200
[OT] Linux-Fan's bad signatures (Re: Encrypt files on Linux, decrypt on Windows) Linux-Fan <Ma_Sys.ma@web.de> - 2020-08-22 00:20 +0200
Re: Linux-Fan's bad signatures Teemu Likonen <tlikonen@iki.fi> - 2020-08-22 09:20 +0200
Re: Linux-Fan's bad signatures Linux-Fan <Ma_Sys.ma@web.de> - 2020-08-22 12:50 +0200
Signing emails, was Re: General-Purpose Server for Debian Stable David Wright <deblis@lionunicorn.co.uk> - 2020-10-02 05:30 +0200
Re: Encrypt files on Linux, decrypt on Windows Paul Johnson <baloo@ursamundi.org> - 2020-08-21 20:40 +0200
Re: Encrypt files on Linux, decrypt on Windows Charles Curley <charlescurley@charlescurley.com> - 2020-08-21 21:10 +0200
Re: Encrypt files on Linux, decrypt on Windows Marek Mosiewicz <marek.mosiewicz@jotel.com.pl> - 2020-08-23 11:30 +0200
Re: Encrypt files on Linux, decrypt on Windows <tomas@tuxteam.de> - 2020-08-23 11:40 +0200
Re: Encrypt files on Linux, decrypt on Windows Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-23 13:10 +0200
Re: Encrypt files on Linux, decrypt on Windows Charles Curley <charlescurley@charlescurley.com> - 2020-08-23 16:40 +0200
Signal [Was:] Re: Encrypt files on Linux, decrypt on Windows Celejar <celejar@gmail.com> - 2020-08-25 20:20 +0200
Re: Signal [Was:] Re: Encrypt files on Linux, decrypt on Windows Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-26 08:30 +0200
Re: Signal [Was:] Re: Encrypt files on Linux, decrypt on Windows Celejar <celejar@gmail.com> - 2020-08-26 14:10 +0200
Re: Encrypt files on Linux, decrypt on Windows Matthew Graybosch <hello@matthewgraybosch.com> - 2020-08-21 20:50 +0200
Re: Encrypt files on Linux, decrypt on Windows <tomas@tuxteam.de> - 2020-08-21 22:00 +0200
Re: Encrypt files on Linux, decrypt on Windows Matthew Graybosch <hello@matthewgraybosch.com> - 2020-08-21 22:20 +0200
Re: Encrypt files on Linux, decrypt on Windows rhkramer@gmail.com - 2020-08-22 02:20 +0200
Re: Encrypt files on Linux, decrypt on Windows Matthew Graybosch <hello@matthewgraybosch.com> - 2020-08-22 03:30 +0200
Re: Encrypt files on Linux, decrypt on Windows <tomas@tuxteam.de> - 2020-08-22 09:40 +0200
Re: Encrypt files on Linux, decrypt on Windows Matthew Graybosch <hello@matthewgraybosch.com> - 2020-08-23 19:10 +0200
Re: Encrypt files on Linux, decrypt on Windows Jonathan Dowland <jon+debian-user@dow.land> - 2020-08-26 11:40 +0200
Re: Encrypt files on Linux, decrypt on Windows Hornet <hornetmadness@gmail.com> - 2020-08-29 15:40 +0200
Re: Encrypt files on Linux, decrypt on Windows Teemu Likonen <tlikonen@iki.fi> - 2020-08-21 21:10 +0200
Re: Encrypt files on Linux, decrypt on Windows Teemu Likonen <tlikonen@iki.fi> - 2020-08-21 21:20 +0200
Re: Encrypt files on Linux, decrypt on Windows David Christensen <dpchrist@holgerdanske.com> - 2020-08-21 21:30 +0200
Re: Encrypt files on Linux, decrypt on Windows David Christensen <dpchrist@holgerdanske.com> - 2020-08-21 21:20 +0200
Re: Encrypt files on Linux, decrypt on Windows Hans <hans.ullrich@loop.de> - 2020-08-21 22:30 +0200
Re: Encrypt files on Linux, decrypt on Windows Hans <hans.ullrich@loop.de> - 2020-08-21 22:40 +0200
Re: Encrypt files on Linux, decrypt on Windows Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2020-08-22 03:10 +0200
Re: Encrypt files on Linux, decrypt on Windows deloptes <deloptes@gmail.com> - 2020-08-22 09:50 +0200
Re: Encrypt files on Linux, decrypt on Windows mick crane <mick.crane@gmail.com> - 2020-08-22 12:20 +0200
"What's wrong with...?" Teemu Likonen <tlikonen@iki.fi> - 2020-08-22 20:30 +0200
Re: "What's wrong with...?" Dan Ritter <dsr@randomstring.org> - 2020-08-22 20:40 +0200
Re: "What's wrong with...?" mick crane <mick.crane@gmail.com> - 2020-08-23 08:50 +0200
Re: "What's wrong with...?" Jonathan Dowland <jon+debian-user@dow.land> - 2020-08-26 11:30 +0200
csiph-web