Single encrypted file

Discussion in 'privacy technology' started by hightime, Apr 5, 2012.

Thread Status:
Not open for further replies.
  1. hightime

    hightime Registered Member

    Joined:
    Apr 5, 2012
    Posts:
    2
    Hi there.
    I need to create a encrypted file with all used passawords, and to grant access to some apps/scripts.
    I'm currently leading with a system where credentials are scattered in the code,and consequently in plain text:blink: .
    My objective is to create a single "repository" file and encripted.
    Can you give me your opinion for the best/most secure way to do this?
     
  2. EncryptedBytes

    EncryptedBytes Registered Member

    Joined:
    Feb 20, 2011
    Posts:
    449
    Location:
    N/A
    I need some more information. Let me see if I follow and feel free to lash out if I miss the mark. You are looking for a means to encrypt a list of passwords that will be used alongside other scripting processes correct? Will these processes be to call the passwords to given programs/applications to log into? Is this for a database backend? Or personal use such as a simple excel/notepad file?
     
  3. hightime

    hightime Registered Member

    Joined:
    Apr 5, 2012
    Posts:
    2
    Exactly. It´s essencially DB credentials.
    I got two diferent environments. One is based on windows, with perl scripts.
    the other is unix based, and also with perl but mostly shellscripts.

    My objective is to delete those credentials from plaintext files and to gather and encrypt then. After that I need to create(or hopefuly google it) a mechanism to read and decrypt those credentials. my first objective is to "clean" up the windows environment.

    thanks
     
  4. EncryptedBytes

    EncryptedBytes Registered Member

    Joined:
    Feb 20, 2011
    Posts:
    449
    Location:
    N/A
    My little disclaimer I am by no means a database engineer though I did stay at a holiday inn express. My background is in network security, cyber forensics and penetration testing with some IA NIST 800 sprinkled ontop.

    Encryption can indeed provide strong security for data at rest, but
    you are going to have to take several factors into consideration such as:

    Where is the encryption to be performed, (e.g. the database, or in the application calling the data?)
    Who will have access to the encryption keys?
    How much data must be encrypted?
    What’s an acceptable trade-off between security and performance?

    Once you have that answered my next question for you is, are you using any DMS? (Database Management Software) I know MS SQL server can do all this for you with some simple commands. That being said if you are doing this all from scratch then yes you will have to create a front-end to encrypt and run the passwords through a hashing algorithm (SHA-256 I would suggest) with a unique salt for each entry etc. Example can be found here

    I can’t craft an easy solution because I’d still need even more information from you, though this does give you a little insight.
     
  5. LockBox

    LockBox Registered Member

    Joined:
    Nov 20, 2004
    Posts:
    2,328
    Location:
    Here, There and Everywhere
    Kind of like an internal LastPass?
     
  6. caspian

    caspian Registered Member

    Joined:
    Jun 17, 2007
    Posts:
    2,363
    Location:
    Oz
    I for one truly appreciate all of your contributions here. Thanks.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.