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 Fri 21 Nov 2014, 23:04
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 Posts_count  
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   922 Time(s)

pupcrypt.jpg

pupcrypt-1.0.pet
Description  Version 1
pet

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

_________________
Dpup Home
Back to top
View user's profile Send_private_message Visit_website MSNM 
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_website MSNM 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
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_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_website MSNM 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
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  220 Time(s) 

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_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_website MSNM 
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0651s ][ Queries: 12 (0.0046s) ][ GZIP on ]