Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 06 Feb 2016, 05:15
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
pcrypt
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
rufwoof


Joined: 24 Feb 2014
Posts: 1233
Location: UK

PostPosted: Fri 15 Jan 2016, 23:19    Post subject:  pcrypt
Subject description: File encrypt using one time pad (keysize = filesize)
 

pcrypt single file encryption. pcrypt generates a one time keyfile that is the same size as the message (file) using /dev/urandom sourced random data. /dev/urandom utilises hardware/environment to induce randomness - in effect purely random. For truly random keys One Time Pad encryption (with keysize = message size) is proven uncrackable.

SFS located here http://murga-linux.com/puppy/viewtopic.php?p=881776#881776

Puppy's small size makes it great for running purely in ram. If you store .fck (encrypted) file/data on a remote server (cloud - such as googledrive) and keep the associated .key file on a USB, then you can download the file (into ram) and decrypt that (using the key on the USB) and work on the file ... and then re-encrypt and upload the revised version to the cloud (and replace the old key with the new one on the USB) ... all without any decrypted data being recorded on your local laptop/PC. Once powered off the ram is cleared such that if the laptop is stolen your data is not available to the thief.

The .key file is useless without the associated .fck (encrypted data) file. The .fck file is useless without the associated .key file. And run in ram no cache of the unencrypted data remains available once powered down.

Each file has its own unique key (one time pad), and you don't have to worry about remembering passwords. The only downside is that each file takes up twice the amount of disk space, one for the encrypted data, the other for the key - however more modern hardware usually have copious amounts of disk space.
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 1233
Location: UK

PostPosted: Sun 17 Jan 2016, 12:23    Post subject:  

https://www.cloudcracker.com/ - for a fee offer a online cloud service that brute force crack attacks the following

WPA/WPA2
NTLM
SHA-512
MD5
MS-CHAPV2 (PPTP/WPA2-E)

pcrypt is resilient to such brute force attacks as some other meaningful output (decrypt) is just a likely as the actual unencrypted message. Given the universe of meaningful outcomes, the actual original content remains cloaked even if there was sufficient power/time to decipher all possibilities.

The downside of having to store key files has the benefit that you don't have to think up and remember passwords (which can lead to duplication (same password used to access multiple files/content)). With a unique key per file, even in the unlikely event that was cracked (extremely unlikely) that doesn't help in cracking any other files (as there's a single unique key for each file).
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 917
Location: The other Mr. 305

PostPosted: Thu 28 Jan 2016, 21:28    Post subject:  

I like this idea. It'll have to wait until the weekend but I look forward to trying.....
Back to top
View user's profile Send private message 
bruno

Joined: 08 Mar 2012
Posts: 82
Location: Belgium

PostPosted: Fri 29 Jan 2016, 09:48    Post subject: pcrypt otp  

Rufwoof, thanks for this great little utility, it works great on tahrpup605.
What would be even greater, is if you would make some gui so that OTP can be used with puppy as a way to communicate, that is: first create the one time pads, share them with your correspondent when you meet in person, and then later when you are in different locations, communicate encrypted by using those pads.
That would combine the unbreakable security of OTP encrypted communication, with the convenience of puppy.
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 1233
Location: UK

PostPosted: Wed 03 Feb 2016, 18:51    Post subject:  

Its quite useful when you have a confidential document/spreadsheet that you'd hate for others to see (financial accounts etc.). Keep one of the encrypted pair on googledrive or wherever, so no one with access to that can see it, and the key even on your laptop alone without that other half is pretty useless, so if your laptop is lost/stolen the spreadsheet is confidential/secret - unless of course they figure out your googledrive or wherever account login/password.

To open the spreadsheet pull the .fck file down from google to be alonside the .key file, click and the spreadsheets available to work on/use. When done encrypt again and upload the .fck to google, leave the .key as-is and its secure again. A nice aspect is that you don't even have to remember or think up a password (and each file is in effect secured by its own unique uncrackable password).

I now have mine set up in DebianDog Jessie to be a desktop icon that I can drag/drop a file onto which removes the original and creates the .fck and .key files. I've also associated .fck files to pcrypt so when the two files are alongside each other I can left click the .fck file and both the .fck and .key files are replaced by the unencrypted file.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0323s ][ Queries: 11 (0.0029s) ][ GZIP on ]