You are here

Application Structure Ideas (Krypton)

6 posts / 0 new
Last post
John Bentley
John Bentley's picture
Offline
Last seen: 15 years 3 months ago
Developer
Joined: 2006-01-24 13:26
Application Structure Ideas (Krypton)

I am currently writing an document management application. Everything will be stored in an Sqlite database. It is designed to support AES encryption. It is being written in JavaScript (wxJavaScript). Its name is Krypton.

However, I am still pondering this point. How can I detect if the encryption password is correct? I planned on using an MD5 and SHA1 hash to compare it to. Would that create any security vulnerabilities?

 
Are there any other things I should be concerned about?
 
Thank you.

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 5 months 6 days ago
Joined: 2006-11-18 10:26
Javascript?

If you plan on making this a portable app, you should be concerned about Javascript (.js) files not executing on machines where it's been turned off by an admin. For example, I wrote some mini-apps as .hta files and now they won't run because the network nazis forced down a policy to prevent them from executing.

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 10 months ago
Developer
Joined: 2007-09-11 12:24
Use your portable browser

Use your portable browser FireFox Wink

About the Hash, I guess checking both hashes to check is the entered password is correct might be quite secure for the time being. If an entered password matches both hashes chances are very high the user entered the correct password.

John Bentley
John Bentley's picture
Offline
Last seen: 15 years 3 months ago
Developer
Joined: 2006-01-24 13:26
It is using wxJavaScript so

It is using wxJavaScript so it does not need to be enabled on the host machine. It is a GUI application, not a web application. It would be no different from using something like AutoIt. Sorry about the confusion.

cowsay Moo
cowthink 'Dude, why are you staring at me.'

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 5 months 6 days ago
Joined: 2006-11-18 10:26
ah...I see

Really now...I'm gonna look into that as it sounds interesting for some projects I work on.

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

John Bentley
John Bentley's picture
Offline
Last seen: 15 years 3 months ago
Developer
Joined: 2006-01-24 13:26
You will want to use this

You will want to use this trick I posted because it normally requiers the VC++ runtime to be installed.

http://groups.google.com/group/wxjavascript/browse_thread/thread/bb0cc0d...

cowsay Moo
cowthink 'Dude, why are you staring at me.'

Log in or register to post comments