Skip to content

Commit

Permalink
Update baseline and TestSuite (Linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
r0m30 committed Aug 22, 2017
1 parent b6f51bf commit 358cc75
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 34 deletions.
8 changes: 4 additions & 4 deletions linux/TestSuite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ read INOUT
echo Last chance to hit Ctrl-c an keep the data on your drive
read INPUT
## test sedutil commands
PROG=./CLI/dist/Release_i686/GNU-Linux/sedutil-cli
##PROG=./CLI/dist/Release_x86_64/GNU-Linux/sedutil-cli
##PROG=./CLI/dist/Release_i686/GNU-Linux/sedutil-cli
PROG=./CLI/dist/Release_x86_64/GNU-Linux/sedutil-cli
##PROG=./sedutil-cli
##PROG=echo
LOGFILE=sedutil_baseline
OUTPUTSINK=">> ${LOGFILE} 2>&1"
echo testing sedutil `date` > ${LOGFILE}
echo testing ${PROG} `date` > ${LOGFILE}

##
echo Begin TestSuite.cmd > ${LOGFILE}
echo Begin TestSuite >> ${LOGFILE}
uname -a >> ${LOGFILE}
echo testing sedutil `date` | tee -a ${LOGFILE}
${PROG} --help | grep -a Copyright >> ${LOGFILE} 2>&1
Expand Down
63 changes: 33 additions & 30 deletions linux/sedutil_baseline
Original file line number Diff line number Diff line change
@@ -1,54 +1,57 @@
Begin TestSuite.cmd
Linux OPALDev 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
testing sedutil Tue Feb 10 23:19:43 PST 2015
sedutil v0.21beta

testing ./CLI/dist/Release_x86_64/GNU-Linux/sedutil-cli Mon Aug 21 17:23:46 PDT 2017
Begin TestSuite
Linux r0m30-Z170A 4.10.0-32-generic #36~16.04.1-Ubuntu SMP Wed Aug 9 09:19:02 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
testing sedutil Mon Aug 21 17:23:46 PDT 2017
sedutil v1.15-24-gb6f51bf-dirty Copyright 2014-2017 Bright Plaza Inc. <[email protected]>
You do not have permission to access the raw disk in write mode
Perhaps you might try sudo to run as root
Scanning for Opal compliant disks
/dev/sda 2 Crucial_CT120M500SSD3 MU05
/dev/sdb 2 ST500LT025-1DH142 0001SDM7
/dev/sdc No Hitachi HDT725040VLA360 V5COA7BA
/dev/sdd 12 Samsung SSD 850 EVO 500GB EMT01B6Q
/dev/sde No ST3500630AS 3.AAK
/dev/sdf No KINGSTON SV100S264G 120504
/dev/nvme0 No
/dev/sda 2 Crucial_CT250MX200SSD1 MU04
/dev/sdb 12 Samsung SSD 850 EVO 500GB EMT01B6Q
/dev/sdc 2 ST500LT025-1DH142 0001SDM7
/dev/sdd 12 Samsung SSD 850 EVO 250GB EMT01B6Q
No more disks present ending scan
Perform the initial setup
- 23:19:45.405 INFO: takeownership complete
- 23:19:47.453 INFO: Locking SP Activate Complete
- 23:19:48.566 INFO: LockingRange0 disabled
- 23:19:49.464 INFO: LockingRange0 set to RW
- 23:19:49.974 INFO: MBRDone set on
- 23:19:50.407 INFO: MBREnable set on
- 23:19:50.407 INFO: Initial setup of TPer complete on /dev/sdb
takeOwnership complete
Locking SP Activate Complete
LockingRange0 disabled
LockingRange0 set to RW
MBRDone set on
MBRDone set on
MBREnable set on
Initial setup of TPer complete on /dev/sdc
Locked = N, LockingEnabled = Y, LockingSupported = Y, MBRDone = Y, MBREnabled = Y, MediaEncrypt = Y
change the LSP Admin1 password
- 23:19:51.179 INFO: Admin1 password changed
- 23:19:52.181 INFO: LockingRange0 enabled
Admin1 password changed
LockingRange0 enabled ReadLocking,WriteLocking
Locked = N, LockingEnabled = Y, LockingSupported = Y, MBRDone = Y, MBREnabled = Y, MediaEncrypt = Y
test readlocking
- 23:19:53.146 INFO: LockingRange0 set to RO
LockingRange0 set to RO
Locked = Y, LockingEnabled = Y, LockingSupported = Y, MBRDone = Y, MBREnabled = Y, MediaEncrypt = Y
test write locking
- 23:19:54.100 INFO: LockingRange0 set to RW
LockingRange0 set to RW
Locked = N, LockingEnabled = Y, LockingSupported = Y, MBRDone = Y, MBREnabled = Y, MediaEncrypt = Y
set LockingRange 0 LK
- 23:19:55.120 INFO: LockingRange0 set to LK
LockingRange0 set to LK
Locked = Y, LockingEnabled = Y, LockingSupported = Y, MBRDone = Y, MBREnabled = Y, MediaEncrypt = Y
disable locking on the global range
- 23:20:00.654 INFO: LockingRange0 disabled
LockingRange0 disabled
Locked = N, LockingEnabled = Y, LockingSupported = Y, MBRDone = Y, MBREnabled = Y, MediaEncrypt = Y
unset MBRDone
- 23:20:01.187 INFO: MBRDone set off
MBRDone set off
Locked = N, LockingEnabled = Y, LockingSupported = Y, MBRDone = N, MBREnabled = Y, MediaEncrypt = Y
disable mbr shadowing
- 23:20:01.730 INFO: MBREnable set off
MBRDone set on
MBREnable set off
Locked = N, LockingEnabled = Y, LockingSupported = Y, MBRDone = N, MBREnabled = N, MediaEncrypt = Y
resetting device
- 23:20:04.186 INFO: Revert LockingSP complete
Revert LockingSP complete
Locked = N, LockingEnabled = N, LockingSupported = Y, MBRDone = N, MBREnabled = N, MediaEncrypt = Y
- 23:20:06.925 INFO: revertTper completed successfully
revertTper completed successfully
Locked = N, LockingEnabled = N, LockingSupported = Y, MBRDone = N, MBREnabled = N, MediaEncrypt = Y

PKCS #5 PBKDF2 validation suite running on sedutil ...
PKCS #5 PBKDF2 validation suite running ...

Password password Salt salt Iterations 1 Length 20
Expected Result: 0c60c80f961f0e71f3a9b524af6012062fe037a6
Expand All @@ -63,4 +66,4 @@ Password passwordPASSWORDpassword Salt saltSALTsaltSALTsaltSALTsaltSALTsalt Iter
Expected Result: 3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038
Actual Result : 3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038

PKCS #5 PBKDF2 validation suite on sedutil ... passed
PKCS #5 PBKDF2 validation suite ... passed

0 comments on commit 358cc75

Please sign in to comment.