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 20 Dec 2014, 03:32
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
PupCrypt
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Wed 24 Jun 2009, 00:31    Post subject:  PupCrypt  

Thought this maybe of use to some, during my work on the Puppy Personal Database, I had to port some of my work from that other OS to Puppy and this was just part of it...A super-duty file encryption app.

It uses a modified RC6 128bit-block algorithm with a twist, the key which can be up to 2040bit is also encrypted using sha1...Now there's some security...The prog saves a copy of the hashed key in the working directory.

Any if its of use, here it is, if anyone is interested the the source to the encryption, let me know
pupcrypt.jpg
 Description   Screenshot
 Filesize   24.96 KB
 Viewed   928 Time(s)

pupcrypt.jpg

pupcrypt-1.0.pet
Description  Version 1
pet

 Download 
Filename  pupcrypt-1.0.pet 
Filesize  838.3 KB 
Downloaded  269 Time(s) 

_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Wed 24 Jun 2009, 01:16    Post subject:  

Very interesting project.

Did you modify original RC6 algorithm?. As I remember it´s a RSA patented algorithm....
Back to top
View user's profile Send private message 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Wed 24 Jun 2009, 01:25    Post subject:  

No, the algorithm core is Rijndael(AES) with the key registers modified from RC6 ideas
_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ttuuxxx


Joined: 05 May 2007
Posts: 10845
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 24 Jun 2009, 02:18    Post subject:  

wow that looks like a cool program, anyway to get it say under 100kb? makes it hard to have a default application when its almost 1MB.
Still would be great for pupplets etc. Thanks, Also I always figured it would be nice to have a application similar to this but embedded into the OS, So when you partition a hard drive it uses maybe the hard drive serial number and encrypts it automatically and then a backup hard drive program would have to have it built in also, so it could be mirrored, that way say if you did a full install of puppy as root, hackers on the net would not be able to access that HD, Something like that could be good for businesses, banks etc, actually almost a split system would be good, like when you install a application, a pop-up would ask, "Is this a Internet resource using application?" and if so, that would be a memory based application, meaning every time that the application is ran, its moved to a /tmp/ location in the memory and if it wasn't then it would just use the hard drive. Maybe I'm over thinking things again, lol
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Wed 24 Jun 2009, 02:47    Post subject:  

I can get the algorithm and key registers in under 50k but the gui is the big hog...if someone wants to do the gui in Vala/Genie that would do it...I don't have time to learn another computer language...already too many in my head, I may have a look at it in c++ in future...
_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Wed 24 Jun 2009, 06:09    Post subject:  

Guy - enclosed is a shell script which calls the bcrypt program (blowfish algorithm) that is in puppy 4.15 Alpha - you can see the program in /usr/sbin

decompress
Just get rid of .txt extension and make in executable Smile
that might be suitable for your needs Smile

tee hee Laughing reminds me of one of the few programs I wrote
Blowfish 007
It was more developed than this - maybe MI5 made off with it?
http://www.murga-linux.com/puppy/viewtopic.php?p=121242&search_id=65932637#121242
zip_crypt.tar.gz
Description 
gz

 Download 
Filename  zip_crypt.tar.gz 
Filesize  2.34 KB 
Downloaded  221 Time(s) 

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Wed 24 Jun 2009, 07:34    Post subject:  

yes I knew about that, used blowfish about ten years ago, rather archaic and slow compared to modern 128bit and and above block encoders...and totally unsuitable for stream encryption.
_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Mon 06 Jul 2009, 14:03    Post subject:  

HI gposil. Could you share the encryption source code, you said you´ll check to port it to C++. I´ll like to access the C/C++ source.

Thank you.
Back to top
View user's profile Send private message 
Mixie

Joined: 06 Jul 2009
Posts: 1

PostPosted: Mon 06 Jul 2009, 16:59    Post subject:  

gposil wrote:
No, the algorithm core is Rijndael(AES) with the key registers modified from RC6 ideas


Hmm, I have some concerns over this. First of all, it looks like you invented your own algorithm (a hybrid of AES and RC6) instead of using tried-and-true peer reviewed algorithms (such as the AES finalists implemented to spec). Second, there is no source code available, so it is not possible to perform even the limited peer review that would be enabled through access to the source code. Since this is an invented algorithm, existing test vectors for encryption will not work, so it will be hard to discover implementation or algorithm flaws.

To summarize, the security of this program is a mystery.

Even when using only part of the RC6 algorithm, there may still be patent concerns as well.

Are there plans to address these concerns?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0620s ][ Queries: 12 (0.0039s) ][ GZIP on ]