Is there a Linux way to send encrypted email attachments?

For discussions about security.
Post Reply
Message
Author
User avatar
Barkin
Posts: 803
Joined: Fri 12 Aug 2011, 04:55

Is there a Linux way to send encrypted email attachments?

#1 Post by Barkin »

Anyone know of a Linux equivalent of this type of encryption program ...
send secure attachments by e-mail without worries. The receiver of an e-mail with an encrypted file will only need the right password and a browser to decrypt the e-mail
http://www.safeit.com/products/fileenc/

Your data is converted into an encrypted html file which you send by email, the "killer application" is the recipient does not have to install any software : the decryption takes place in their browser via javascript. So it is independent of OS.
Last edited by Barkin on Fri 13 Jan 2012, 07:18, edited 2 times in total.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#2 Post by amigo »

Java code which runs inside a browser means it needs no OS-dependent equivalent -you just need a browser and java.

User avatar
Barkin
Posts: 803
Joined: Fri 12 Aug 2011, 04:55

#3 Post by Barkin »

amigo wrote:Java code which runs inside a browser means it needs no OS-dependent equivalent -you just need a browser and java.
Yes the decryption is not OS specific, but that encryption program is windows only.

I hoped there would be a Linux version somewhere of the encryption program.

If anyone knows of html encryption like that which runs on entirely javascript that would be ideal, (i.e. both encryption and decryption in the browser).
Last edited by Barkin on Sun 08 Jan 2012, 15:06, edited 1 time in total.

linuxbear
Posts: 620
Joined: Sat 18 Apr 2009, 20:39
Location: Las Vegas, Nevada, USA

#4 Post by linuxbear »

I would love to find a JAVA based encryption which would allow me to encrypt a directory and give me the ability to decrypt it by typing a password into a browser from any OS. So far, the only thing that comes close to this is "tiddlywiki" The problem with tiddlywiki is you can encrypt within the ap and open with any browser, but i will not allow folders to be included in the portable wiki.

User avatar
Barkin
Posts: 803
Joined: Fri 12 Aug 2011, 04:55

#5 Post by Barkin »

Thanks for the link to "tiddlywiki" , it led me to "message vault

User avatar
Barkin
Posts: 803
Joined: Fri 12 Aug 2011, 04:55

#6 Post by Barkin »

this sort of thing, (attached), but like linuxbear says, capable of handling folders (directories).
(BTW to decrypt click on "Decrypt" below the pink box and the plain text appears in the green box).
Attachments
jscrypt-encryption AND decryption in browser.zip
"JavaScrypt Encryption and Decryption", html file zipped.
(10.16 KiB) Downloaded 272 times

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#7 Post by technosaurus »

you don't _need_ a browser and java though

tar -czf dirname.tar.gz ./dirname
bcrypt dirname.tar.gz

pretty sure tar and bcrypt are cross platform
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#8 Post by jpeps »

technosaurus wrote:you don't _need_ a browser and java though

tar -czf dirname.tar.gz ./dirname
bcrypt dirname.tar.gz

pretty sure tar and bcrypt are cross platform
The person on the other end has to have bcrypt, and then know what to do with a tar.gz file.

It's amazing how much confidential info I get via email...from lawyers assistants, etc., that think it's a replacement for fax. Makes me cringe.

Barkin...This might be useful. I saved an OpenOffice file in RTF, and it encrypted nicely. This might work.

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#9 Post by RetroTechGuy »

jpeps wrote:
technosaurus wrote:you don't _need_ a browser and java though

tar -czf dirname.tar.gz ./dirname
bcrypt dirname.tar.gz

pretty sure tar and bcrypt are cross platform
The person on the other end has to have bcrypt, and then know what to do with a tar.gz file.

It's amazing how much confidential info I get via email...from lawyers assistants, etc., that think it's a replacement for fax. Makes me cringe.

Barkin...This might be useful. I saved an OpenOffice file in RTF, and it encrypted nicely. This might work.
I used GPG in 4.3.1 (I should reinstall it under 5.28).

This requires you make a GPG (i.e PGP) key, and distribute the public key, and that your recipient do likewise...

I write and encrypt such messages inside a truecrypt container (so the clear-text is encrypted)
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

User avatar
Barkin
Posts: 803
Joined: Fri 12 Aug 2011, 04:55

#10 Post by Barkin »

RetroTechGuy wrote:I used GPG ... I write and encrypt such messages inside a truecrypt container (so the clear-text is encrypted)
So the Truecrypt file, which is encrypted, is encrypted again*.

A belt and braces man like myself: would you like to borrow my tin-foil balaclava ? :¬)

[* just in case the honeypot-backdoor rumors about Truecrypt are true ]
Attachments
tinman.jpg
Source of image ... https://secure.flickr.com/photos/robnwatkins/397488557/ [it's not me]
(20.22 KiB) Downloaded 564 times

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#11 Post by RetroTechGuy »

Barkin wrote:
RetroTechGuy wrote:I used GPG ... I write and encrypt such messages inside a truecrypt container (so the clear-text is encrypted)
So the Truecrypt file, which is encrypted, is encrypted again*.

A belt and braces man like myself: would you like to borrow my tin-foil balaclava ? :¬)
No, the clear text is typed and encrypted inside the truecrypt container (the resulting GPG file inside is a temporary issue, as it is of no use to YOU, unless you wrote it to yourself).

This keeps the clear-text encrypted (not visible on the regular partition, even if deleted).

The side effect generally is that the GPGed version is also inside, but you can delete that after sending (and it allows you to keep a clear-text copy of what you sent).
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

linuxbear
Posts: 620
Joined: Sat 18 Apr 2009, 20:39
Location: Las Vegas, Nevada, USA

#12 Post by linuxbear »

technosaurus wrote:you don't _need_ a browser and java though

tar -czf dirname.tar.gz ./dirname
bcrypt dirname.tar.gz

pretty sure tar and bcrypt are cross platform
I am already using encrypted documents, PDFs and encrypted zip files on my pendrive. The problem is that this requires the installation or existence of installed zip and office suite applications on any machine that the drive is plugged into. The great thing about tiddlywiki is that it can be opened on any machine that has a browser installed. Tiddly will not encrypt folders, but does encrypt itself otherwise. This can probably be done inside an HTLM app, but I do not have the time to learn JAVA. The idea here is, plug into any machine, get stuff.

User avatar
mahaju
Posts: 487
Joined: Mon 11 Oct 2010, 07:11
Location: between the keyboard and the chair

#13 Post by mahaju »

< posting to get notifications about further replies to this topic >
< Please don't mind :) >

User avatar
jim3630
Posts: 791
Joined: Mon 14 Feb 2011, 02:21
Location: Northern Nevada

#14 Post by jim3630 »

have not tried Tiddly.

1+ Truecrypt. the receiver only need some kind of word processor and the key to open it and it does folders.

the attached pet also works. think it is DPUP5520

User avatar
Barkin
Posts: 803
Joined: Fri 12 Aug 2011, 04:55

#15 Post by Barkin »

jim3630 wrote:1+ Truecrypt. the receiver only need some kind of word processor and the key to open it and it does folders.
I may have got the wrong end of the stick again, but I’m sure Truecrypt has to be installed on the recipient’s computer for them to be able to open it.

I don’t think Truecrypt do a self-extracting option, 7-Zip does, but self-extracting files are OS specific.
Attachments
'tinman' in 7z self-extracting exe for Windows.zip
self-extracting encrypted 7z file (.exe), in zip file, password is 'tinman'.
Can only be opened in windows or simulation thereof.
(91.08 KiB) Downloaded 311 times

User avatar
jim3630
Posts: 791
Joined: Mon 14 Feb 2011, 02:21
Location: Northern Nevada

#16 Post by jim3630 »

Barkin wrote:
jim3630 wrote:1+ Truecrypt. the receiver only need some kind of word processor and the key to open it and it does folders.
I may have got the wrong end of the stick again, but I’m sure Truecrypt has to be installed on the recipient’s computer for them to be able to open it.

I don’t think Truecrypt do a self-extracting option, 7-Zip does, but self-extracting files are OS specific.
Barkin, yes you are correct recipient needs Truecrypt as well.

Post Reply