VDB-2: Test Plan for the Nencvalid tool
Revision History:
Group 1:
Verifies handling of encrypted WGA files in non-compatibility mode.
Test Cases:
- 1-1. Valid encrypted file, password not provided
- 1-2. Valid file, no checksum in the header
- 1-3. Valid encrypted file, correct password from a file ponted to by environment variable VDB_PWFILE
- 1-4. Valid encrypted file, incorrect password from a file ponted to by environment variable VDB_PWFILE
- 1-5. Valid encrypted file, environment variable VDB_PWFILE points to a non-existing file
- 1-6. Valid encrypted file, correct password piped from VDB_PWFILE=/dev/stdin
- 1-7. Valid encrypted file, incorrect password piped from VDB_PWFILE=/dev/stdin
- 1-8. Valid encrypted file, correct password from a file ponted to by kfg variable krypto/pwfile
- 1-9. Valid encrypted file, incorrect password from a file ponted to by kfg variable krypto/pwfile
- 1-10. Invalid file (not a WGA format)
- 1-11. Invalid file (bad header)
- 1-12. Invalid file (truncated)
- 1-13. Invalid file (excessive lentgth)
- 1-14. Invalid file (checksum present, mismatched)
- 1-15. Validation passed, quiet mode
Group 2:
Verifies handling of encrypted WGA files in compatibility mode. Test cases similar to those in Group 1, but with additional checking for extended return ciodes
Test Cases:
Group 3:
Verifies handling of nenc-encrypted files
TBD
Group 4:
Verifies handling of multiple files (all WGA, WGA mixed with nenc, all nenc)
TBD