phpBMS

Show
Ignore:
Timestamp:
01/01/10 11:51:27 (2 years ago)
Author:
brieb
Message:
  • Added more severe checking for encrytion key file
  • Added security tips on implementing payment encryption
  • Added mailchimp update.php so module would display as not installed during update process
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/bms/adminsettings.php

    r646 r699  
    2929                        if(is_file($path)) 
    3030                                if(is_readable($path)) 
     31                                    if(filesize($path) > 0) 
    3132                                        $theReturn = true; 
    3233 
     
    444445        <p><?php echo $theform->showField("encrypt_payment_fields");?></p> 
    445446        <p class="notes"> 
    446                 Withe this option enabled, sensitive payment information in sales orders and 
    447                 receipts with a `type` of 'Order' will be encrypted.<br/> 
    448  
    449                 Also, payment fields in sales orders and receipts records of `type` 
     447                Enabling this option encrypts sensitive payment information in sales orders and 
     448                receipts with a `type` of 'Order'.<br/> 
     449 
     450                In addition, payment fields in sales orders and receipts records of `type` 
    450451                'Invoice' will be removed or obfuscated when a sales order or receipt 
    451                 is posted as an invoice or voided/deleted.  <strong>This type of obfuscation, 
    452                 is not reversible</strong> 
    453  
     452                is posted as an invoice or voided/deleted. 
    454453        </p> 
     454 
     455        <p class="notes"><strong>Obfuscation is not reversible.</strong></p> 
    455456 
    456457        <input type="hidden" name="encryptionPathChanged" id="encryptionPathChanged" value="0" /> 
    457458        <p><?php echo $theform->showField("encryption_key_path");?></p> 
     459 
     460        <p class="notes"> 
     461             Typically, encyrption key files are text containing a 64-128 character hash. Good security practices include regularly 
     462             rotating key files.  Do not delete the old key until the new key has been accepted and processed by phpBMS.  The system will 
     463             decrypt data using the old key and then re-encrypt it using the new key. 
     464        </p> 
     465 
     466        <p class="notes"><strong>Always keep back ups of your key file(s). Losing them may result in unencryptable data.</strong></p> 
    458467 
    459468    </fieldset> 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.