-
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add automated tests for change-password and change-keys commands
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
include(${PROJECT_SOURCE_DIR}/tests/verify_hash.cmake) | ||
|
||
execute_process( | ||
COMMAND ${BKCRACK_COMMAND} | ||
-C ${PROJECT_SOURCE_DIR}/example/secrets.zip | ||
-k c4490e28 b414a23d 91404b31 | ||
--change-keys change-keys.zip 86484f1d 3fb4c16f ba11de5e | ||
COMMAND_ERROR_IS_FATAL ANY) | ||
verify_hash(change-keys.zip 1aac8f747b205074ca662b533fa421f160b81d4f1afa99b750997d4038a49ebc) | ||
file(REMOVE change-keys.zip) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
include(${PROJECT_SOURCE_DIR}/tests/verify_hash.cmake) | ||
|
||
execute_process( | ||
COMMAND ${BKCRACK_COMMAND} | ||
-C ${PROJECT_SOURCE_DIR}/example/secrets.zip | ||
-k c4490e28 b414a23d 91404b31 | ||
-U change-password.zip new-password | ||
COMMAND_ERROR_IS_FATAL ANY) | ||
verify_hash(change-password.zip 1aac8f747b205074ca662b533fa421f160b81d4f1afa99b750997d4038a49ebc) | ||
file(REMOVE change-password.zip) |