techPowerUp! Forums

techPowerUp! Forums (http://www.techpowerup.com/forums/index.php)
-   Programming & Webmastering (http://www.techpowerup.com/forums/forumdisplay.php?f=52)
-   -   Activation Key Storage Utility (http://www.techpowerup.com/forums/showthread.php?t=129707)

Kreij Aug 27, 2010 08:30 PM

Activation Key Storage Utility
 
Key-Z : A Secure Activation Key and Password Storage Utility

Key-Z allows you to store activation keys and passwords in a secure (encrypted)
file. Key-Z also allows you to make cryptographic hashes for strings or files.

Menu Options
File
  • Open : Opens a saved Key-Z file. After you select the file you will be prompted
    for your username and PIN number.
  • Save : Save the Key-Z file to the last saved location. You will be prompted for a username and PIN number before the file is saved.
  • Save As : Select where you would like to save the Key-Z file. You will be prompted for a username and PIN number before the file is saved.
  • Close : Close the current Key-Z file and clear all data from the application.
  • Print Preview : Preview print output prior to printing.
  • Print : Print keys and passwords directly to the default printer.
  • Exit : Exit the application
Options
  • Set Backup Folder : Allows you to select a location to back-up the Key-Z file
    in addition to where you normally save it.
Help
  • Content : Provides a link to this page.
  • About : Application information.

Keys Tab
This allows you to enter, modify or delete activation keys.

http://img.techpowerup.org/110603/Capture022.jpg

Filter Groups Dropdown : This allows you to select which group of keys are
displayed in the Keys DataGridView.
Group Dropdown : This allows you to select which group you would like to associate
with an activation key.
Application TextBox : The name of the application for which the key is used.
Keys TextBoxes : This is where you enter the activation key segments. If you
enter a dash "-", your will be taken to the next TextBox automatically. If you
paste a dash seperated key (ie. 1234-1234-1234) into the first TextBox the
program will automatically separate it into segments.
Comments TextBox : For any comments about the key.
Commit Button : This will add the key to the keys DataGridView after performing
some data integrity checks.

Password Tabs
This allows you to create, enter, modify or delete passwords.

http://img.techpowerup.org/110603/Capture023.jpg

Filter Groups Dropdown : This allows you to select which group of passwords are
displayed in the Keys DataGridView.
Group Dropdown : This allows you to select which group you would like to
associate with a password.
Description TextBox : A description saying for what the password is used.
Alphabetic Character Options:
Numeric Character Options:
Special Character Options:
Length:
Must Start With:
Must End With:
The above drop downs are used to set parameters when generating a password.
Generate Password Button : Create a random password based upon the password
option settings.
Commit : This will add the password to the passwords DataGridView after
performing some data integrity checks.

Cryptographic Hashes Tab
This allows you to generate and verify cryptographic hashes created from strings
of files.

http://img.techpowerup.org/110603/Capture024.jpg
Hash Type Dropdown : This allows you to select the type of hash you would like to
generate.
Filename : This allows you to enter a filename (path) to used to create the
cryptographic hash. Check the "string" CheckBox if you want the hash generated
from the text in the TextBox instead of reading the contents of the file.
Generate Hash Button : This generates the hash from the above input. You can
cancel the hash generation using the Stop Button. A spinning icon shows that the
process is running, and when it is complete it will display the hash in the
TextBox below it and also report the time that it took to hash the input.
You can copy and paste a hash string in the second TextBox and it will be
compared to the first to verify the hashes match.

Application Buttons
Save : This will save the key and password information to an encrypted file. You
will be prompted for a file location and name, and also for a username and PIN
number. If you forget your username and/or PIN number there is no way of
recovering the data in the encrypted file.
Exit : This will exit the application.

Additional Information
Adding a group : To add a new group to either keys of passwords simply commit
either using any available group and edit the group name in the DataGridView.
When the Key-Z file is opened it automatically adds the needed groups to the
dropdowns.
Removing a group : Simply remove any keys or passwords for that group and save
the file. When it is re-loaded the group will no longer be available. If you
remove all of the groups, the default set of groups will be re-added when the
file is loaded.

The DataGridViews will be sorted alphabetically (ascending) by group whenever you open a file,
save, print preview or print.

This information is obsolete, please get the latest build you can find at the end of the thread

W1zzard Aug 27, 2010 08:31 PM

if it wasnt from you i'd think this is some key phishing utility :)

Kreij Aug 27, 2010 08:38 PM

Quote:

Originally Posted by W1zzard (Post 2005592)
if it wasnt from you i'd think this is some key phishing utility :)

No, it's safe. Does not transfer anything or "call home". :D

JATownes Aug 27, 2010 08:43 PM

Just grabbed a copy. This is a great idea, as I too am always looking for those damn keys I lose. :banghead:

Kreij Aug 27, 2010 08:48 PM

Quote:

Originally Posted by JATownes (Post 2005607)
Just grabbed a copy. This is a great idea, as I too am always looking for those damn keys I lose. :banghead:

Be careful with it, and test it first. I would hate to have you put in dozens of keys and find out a bug in the program corrupted the file or something. I also cannot guarantee the next couple of versions will be encryption compatible.

KainXS Aug 27, 2010 08:50 PM

I'd hate to put dozens of keys in to find out someone else was using them. . . . . . . .

JATownes Aug 27, 2010 08:50 PM

Just tested it with a couple of keys, and it appears to function correctly. The backup function also created a backup set on my external. Works great so far. I will let you know if I have any issues. The only thing I noticed that did not work as I expected was when I enter the password and hit "Tab" to jump to the "Pin#" box, it jumps to the "OK" button instead. Not a big deal, I can just use the mouse to click the "Pin#" entry box. I just noticed because I am a heavy keyboard user.

Great little prog that serves a nice purpose. Thanks Kreij :toast:

cadaveca Aug 27, 2010 08:50 PM

Good idea...now jsut need it cloud-based, so that you can retreive the data from anywhere, kinda like STEAM, or what have you.


Of course, I do understand what a security risk that would impose...

qubit Aug 27, 2010 08:59 PM

I've been using the excellent open source KeePass password manager for years. You may want to have a look at it, for ideas on how to make yours even better. In particular, you may want to look at the encryption algorithm and its implementation, as it's really strong.

www.keepass.info

Or on Sourceforge:

http://sourceforge.net/projects/keepass/

EDIT: Key-Z, Good name. ;)

JATownes Aug 27, 2010 09:07 PM

Ok. After a reboot everything worked fine. So I copied the keydata.dat file and the Key-Z utility to a flash drive and moved them to a Windows XP-32bit machine I have here. I transferred the keydata.dat file where I wanted it, then when I ran Key-Z I pointed to that location. It immediately asked for my PW and PIN#. Once I input the information, it pulled up my keys.

So for me, it worked to transfer to different machines, and it appears to run correctly on Win7 64-bit and WinXP 32-Bit.

:toast:

Completely Bonkers Aug 27, 2010 09:13 PM

Nice.

I've been using password agent FOR YEARS. Take a look. It might give you some encouragement + ideas.
http://www.moonsoftware.com/pwagent.asp

Also take a look at shell tools, same website. Quite handy.

DonInKansas Aug 27, 2010 09:17 PM

Quote:

Originally Posted by W1zzard (Post 2005592)
if it wasnt from you i'd think this is some key phishing utility :)

Quote:

Originally Posted by Kreij (Post 2005602)
No, it's safe. Does not transfer anything or "call home". :D

Either that or Kreij is so good he hid it so no one can find it. :D

Solaris17 Aug 27, 2010 09:26 PM

the segments have no limit so an entire key can be pasted into one segment.

recommendation have # of seg and # of char per seg. and the ability to set those and then copy paste and have it auto parse into their respective segments.

Also Pass and Pin are visible could you add a check box to that so you can see it or hide it with **'s (default?)

hitting TAB on the pass/pin window auto brings you to apply instead of pin. maybe out of order?

streetfighter 2 Aug 27, 2010 10:12 PM

Oh god, I've been using notepad.... Usually with really inconspicuous file names like, "Barbies_Fantastic_Adventure_CD-key,_my_SSN,_my_credit_card_numbers_and_pictures_o f_me_naked_in_ASCII.txt"

Also this program is in .NET, which for unknown reasons scares the hell out of me. It's probably because it's new and useful. I like old reliable things that weigh several thousand pounds (or stones if you're British).

Kreij Aug 27, 2010 10:22 PM

Quote:

Originally Posted by streetfighter 2 (Post 2005688)
Oh god, I've been using notepad.... Usually with really inconspicuous file names like, "Barbies_Fantastic_Adventure_CD-key,_my_SSN,_my_credit_card_numbers_and_pictures_o f_me_naked_in_ASCII.txt"

I almost spit my beer on the keyboard. Thanks. :roll:

Fixes suggested almost done. New version shortly.

Phxprovost Aug 27, 2010 10:25 PM

no offense to the OP but why not just use an encrypted text file? :confused:

Kreij Aug 27, 2010 10:29 PM

Quote:

Originally Posted by Phxprovost (Post 2005695)
no offense to the OP but why not just use an encrypted text file? :confused:

Too easy. ;)
... and I needed a coding project to keep myself happy.

Kreij Aug 27, 2010 11:02 PM

New version available. Version 1.0.1
See changelog in OP for fixes.

Still working on Sol's paste issue.

JATownes Aug 27, 2010 11:34 PM

Changes work great. Thanks, this will come in very handy. :toast:

Solaris17 Aug 28, 2010 12:17 AM

good stuff kreji much appreciated im sure going to be using this. im old school i ACTUALLY still physically move to find boxes. imagine that.

Kreij Aug 28, 2010 12:25 AM

I'm working on plain text import/export functions so data can be transfered between versions.
This may break v 1.0.1 data, so be aware. I'll try not to do that. (no promises though).

erocker Aug 28, 2010 12:54 AM

Quote:

Originally Posted by Solaris17 (Post 2005780)
good stuff kreji much appreciated im sure going to be using this. im old school i ACTUALLY still physically move to find boxes. imagine that.

I'm in the ancient school. I use a thing called a pen and this barbaric thing called paper to write the codes on. Crazy stuff!

Joking aside (even though I'm being serious) Key-Z does work very well! Thanks Kreij! :toast:

Kreij Aug 28, 2010 12:58 AM

Note to self : Add print function for Erocker. (seriously, that not a bad idea)

erocker Aug 28, 2010 12:59 AM

Quote:

Originally Posted by Kreij (Post 2005822)
Note to self : Add print function for Erocker. (seriously, that not a bad idea)

Very good idea! :D

DannibusX Aug 28, 2010 01:05 AM

Quote:

Originally Posted by Kreij (Post 2005822)
Note to self : Add print function for Erocker. (seriously, that not a bad idea)

For erocker? I don't think my printer can do crayon.

Edit:

Oh, and thanks Kreij. I'll take a look at it in a little while. Cool little app idea.


All times are GMT. The time now is 02:17 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.