-
-
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 test for decrypt command
- Loading branch information
Showing
2 changed files
with
15 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 | ||
-D decrypt.zip | ||
COMMAND_ERROR_IS_FATAL ANY) | ||
verify_hash(decrypt.zip 7365b22e535e545fc60952e82acea961dce512d939dd01545e0a20f7fe82bb8e) | ||
file(REMOVE decrypt.zip) |