VirtualBox

Ignore:
Timestamp:
Dec 1, 2023 9:48:38 AM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160559
Message:

Main/Unattended: Removed the more flexible solution of being able to shasum/shacrypt every variable upon request. Now only the USER_PASSWORD + ROOT_PASSWORD variables can be shacrypted via hardcoded USER_PASSWORD_SHACRYPT512 + ROOT_PASSWORD_SHACRYPT512 [fixed testcase]. bugref:10551

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstUnattendedScript-1.template

    r102337 r102416  
    384384
    385385/*
    386  * Hashing attributes.
    387  * Contains the word "changeme" as hashed results.
    388  */
    389 01=@@VBOX_INSERT_USER_PASSWORD_MD5@@
    390 02=@@VBOX_INSERT_USER_PASSWORD_SHA1@@
    391 03=@@VBOX_INSERT_USER_PASSWORD_SHA256@@
    392 04=@@VBOX_INSERT_USER_PASSWORD_SHA512@@
    393 
    394 /*
    395  * SHAcrypt attributes. Contains the word "changeme" as hashed results.
     386 * SHAcrypt 512. Contains the word "changeme" as hashed results.
    396387 * Note: This uses a fixed salt ("testcase123") within UnattendedScript.cpp, so that we can compare the outputs.
    397388 */
    398 01=@@VBOX_INSERT_USER_PASSWORD_SHACRYPT256@@
    399 02=@@VBOX_INSERT_USER_PASSWORD_SHACRYPT512@@
    400 
     38901=@@VBOX_INSERT_USER_PASSWORD_SHACRYPT512@@
     39002=@@VBOX_INSERT_ROOT_PASSWORD_SHACRYPT512@@
     391
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette