VirtualBox

Changeset 102416 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Dec 1, 2023 9:48:38 AM (14 months ago)
Author:
vboxsync
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

Location:
trunk/src/VBox/Main/testcase
Files:
2 edited

Legend:

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

    r102337 r102416  
    384384
    385385/*
    386  * Hashing attributes.
    387  * Contains the word "changeme" as hashed results.
    388  */
    389 01=4cb9c8a8048fd02294477fcb1a41191a
    390 02=fa9beb99e4029ad5a6615399e7bbae21356086b3
    391 03=057ba03d6c44104863dc7361fe4578965d1887360f90a0895882e58a6248fc86
    392 04=f1891cea80fc05e433c943254c6bdabc159577a02a7395dfebbfbc4f7661d4af56f2d372131a45936de40160007368a56ef216a30cb202c66d3145fd24380906
    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=$5$testcase123$KIABOJRWzcfMyjHf1plXtru6diG5ehd5vY2JgbqITk.
     38901=$6$testcase123$AtdiLq2Dp.l/NRkh9/9Ai6Eapd6d0bGxCOmqErpuGa4unRjiohzK5YERWtLHKvAYx26X0YhIrgSFRimkaLToI1
    39939002=$6$testcase123$AtdiLq2Dp.l/NRkh9/9Ai6Eapd6d0bGxCOmqErpuGa4unRjiohzK5YERWtLHKvAYx26X0YhIrgSFRimkaLToI1
    400391
  • 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.

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