1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Activation Key Storage Utility

Discussion in 'Programming & Webmastering' started by Kreij, Aug 27, 2010.

  1. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (4.81/day)
    Thanks Received:
    5,619
    Location:
    Cheeseland (Wisconsin, USA)
    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.

    [​IMG]

    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.

    [​IMG]

    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.

    [​IMG]
    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
     
    Last edited: Dec 20, 2011
  2. W1zzard

    W1zzard Administrator Staff Member

    Joined:
    May 14, 2004
    Messages:
    15,050 (3.88/day)
    Thanks Received:
    11,954
    if it wasnt from you i'd think this is some key phishing utility :)
     
  3. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (4.81/day)
    Thanks Received:
    5,619
    Location:
    Cheeseland (Wisconsin, USA)
    No, it's safe. Does not transfer anything or "call home". :D
     
  4. JATownes

    JATownes

    Joined:
    Nov 9, 2008
    Messages:
    1,833 (0.82/day)
    Thanks Received:
    442
    Location:
    Texas
    Just grabbed a copy. This is a great idea, as I too am always looking for those damn keys I lose. :banghead:
     
    Kreij says thanks.
  5. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (4.81/day)
    Thanks Received:
    5,619
    Location:
    Cheeseland (Wisconsin, USA)
    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.
     
  6. KainXS

    KainXS

    Joined:
    Sep 25, 2007
    Messages:
    5,603 (2.11/day)
    Thanks Received:
    502
    I'd hate to put dozens of keys in to find out someone else was using them. . . . . . . .
     
  7. JATownes

    JATownes

    Joined:
    Nov 9, 2008
    Messages:
    1,833 (0.82/day)
    Thanks Received:
    442
    Location:
    Texas
    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:
     
  8. cadaveca

    cadaveca My name is Dave

    Joined:
    Apr 10, 2006
    Messages:
    14,152 (4.44/day)
    Thanks Received:
    7,358
    Location:
    Edmonton, Alberta
    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...
     
  9. qubit

    qubit Overclocked quantum bit

    Joined:
    Dec 6, 2007
    Messages:
    9,941 (3.85/day)
    Thanks Received:
    3,532
    Location:
    Quantum well (UK)
    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. ;)
     
    Last edited: Aug 27, 2010
  10. JATownes

    JATownes

    Joined:
    Nov 9, 2008
    Messages:
    1,833 (0.82/day)
    Thanks Received:
    442
    Location:
    Texas
    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:
     
  11. Completely Bonkers New Member

    Joined:
    Feb 6, 2007
    Messages:
    2,580 (0.89/day)
    Thanks Received:
    516
    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.
     
  12. DonInKansas

    DonInKansas

    Joined:
    Jun 2, 2007
    Messages:
    5,098 (1.84/day)
    Thanks Received:
    1,269
    Location:
    Kansas
    Either that or Kreij is so good he hid it so no one can find it. :D
     
  13. Solaris17

    Solaris17 Creator Solaris Utility DVD

    Joined:
    Aug 16, 2005
    Messages:
    17,421 (5.09/day)
    Thanks Received:
    3,719
    Location:
    Florida
    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?
     
    Last edited: Aug 27, 2010
    TIGR says thanks.
  14. streetfighter 2

    streetfighter 2 New Member

    Joined:
    Jul 26, 2010
    Messages:
    1,658 (1.03/day)
    Thanks Received:
    732
    Location:
    Philly
    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_of_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).
     
    KieX says thanks.
  15. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (4.81/day)
    Thanks Received:
    5,619
    Location:
    Cheeseland (Wisconsin, USA)
    I almost spit my beer on the keyboard. Thanks. :roll:

    Fixes suggested almost done. New version shortly.
     
    Solaris17 says thanks.
  16. Phxprovost

    Phxprovost Xtreme Refugee

    Joined:
    Apr 6, 2009
    Messages:
    1,218 (0.58/day)
    Thanks Received:
    262
    Location:
    Pennsylvania
    no offense to the OP but why not just use an encrypted text file? :confused:
     
  17. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (4.81/day)
    Thanks Received:
    5,619
    Location:
    Cheeseland (Wisconsin, USA)
    Too easy. ;)
    ... and I needed a coding project to keep myself happy.
     
    Last edited: Aug 28, 2010
  18. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (4.81/day)
    Thanks Received:
    5,619
    Location:
    Cheeseland (Wisconsin, USA)
    New version available. Version 1.0.1
    See changelog in OP for fixes.

    Still working on Sol's paste issue.
     
    Solaris17 and JATownes say thanks.
  19. JATownes

    JATownes

    Joined:
    Nov 9, 2008
    Messages:
    1,833 (0.82/day)
    Thanks Received:
    442
    Location:
    Texas
    Changes work great. Thanks, this will come in very handy. :toast:
     
  20. Solaris17

    Solaris17 Creator Solaris Utility DVD

    Joined:
    Aug 16, 2005
    Messages:
    17,421 (5.09/day)
    Thanks Received:
    3,719
    Location:
    Florida
    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.
     
  21. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (4.81/day)
    Thanks Received:
    5,619
    Location:
    Cheeseland (Wisconsin, USA)
    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).
     
    Solaris17 says thanks.
  22. erocker

    erocker Super Moderator Staff Member

    Joined:
    Jul 19, 2006
    Messages:
    39,975 (12.96/day)
    Thanks Received:
    14,401
    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:
     
    PVTCaboose1337 says thanks.
  23. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (4.81/day)
    Thanks Received:
    5,619
    Location:
    Cheeseland (Wisconsin, USA)
    Note to self : Add print function for Erocker. (seriously, that not a bad idea)
     
  24. erocker

    erocker Super Moderator Staff Member

    Joined:
    Jul 19, 2006
    Messages:
    39,975 (12.96/day)
    Thanks Received:
    14,401
    Very good idea! :D
     
  25. DannibusX

    DannibusX

    Joined:
    Aug 17, 2009
    Messages:
    2,528 (1.29/day)
    Thanks Received:
    979
    Location:
    United States
    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.
     
    Solaris17 says thanks.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page