"Fossies" - the Fresh Open Source Software Archive

Member "tc-play-3.3/test/features/migrate_vol_cli.feature" (2 Mar 2020, 1548 Bytes) of package /linux/misc/tc-play-3.3.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @cmdline
    2 Feature: Command line volume migration from TrueCrypt to VeraCrypt
    3 
    4   Scenario: Simple volume #1 (change PBKDF PRF)
    5     Given I create a volume tmpvol1 of size 10M with the following parameters:
    6       | passphrase     | test             |
    7       | pbkdf_prf      | SHA512           |
    8       | cipher         | AES-256-XTS      |
    9     And I modify volume tmpvol1 using the following settings:
   10       | passphrase     | test             |
   11       | new_passphrase | test             |
   12       | new_pbkdf_prf  | SHA512-VC        |
   13     And I map volume tmpvol1 as tcplay_test using the following settings:
   14       | passphrase     | test             |
   15     And I request information about volume tmpvol1 using the following settings:
   16       | passphrase     | test             |
   17     Then I expect tcplay to succeed
   18     And I expect dmsetup to have the following tables:
   19       | name           | begin   | end     | algo                  | offset    | iv_offset     |
   20       | tcplay_test    | 0       | 19968   | aes-xts-plain64       | 256       | 256           |
   21     And I expect tcplay to report the following:
   22       | PBKDF2 PRF         | SHA512-VC         |
   23       | PBKDF2 iterations  | 500000            |
   24       | Cipher             | AES-256-XTS       |
   25       | Signature          | VERA              |
   26       | Key Length         | 512 bits          |
   27       | Sector size        | 512               |
   28       | Volume size        | 19968 sectors     |
   29       | IV offset          | 256 sectors       |
   30       | Block offset       | 256 sectors       |