File: veracrypt_create_cli.feature

package info (click to toggle)
tcplay 3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 28,952 kB
  • sloc: ansic: 4,783; ruby: 759; makefile: 19; sh: 16
file content (25 lines) | stat: -rw-r--r-- 1,281 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@cmdline
Feature: Command line VeraCrypt volume creation

  Scenario: Simple volume #1
    Given I create a volume tmpvol1 of size 10M with the following parameters:
      | passphrase     | testtest         |
      | pbkdf_prf      | SHA512-VC        |
      | cipher         | AES-256-XTS      |
    And I map volume tmpvol1 as tcplay_test using the following settings:
      | passphrase     | testtest         |
    And I request information about volume tmpvol1 using the following settings:
      | passphrase     | testtest         |
    Then I expect dmsetup to have the following tables:
      | name           | begin   | end     | algo                  | offset    | iv_offset     |
      | tcplay_test    | 0       | 19968   | aes-xts-plain64       | 256       | 256           |
    And I expect tcplay to report the following:
      | PBKDF2 PRF         | SHA512-VC         |
      | PBKDF2 iterations  | 500000            |
      | Cipher             | AES-256-XTS       |
      | Key Length         | 512 bits          |
      | Signature          | VERA              |
      | Sector size        | 512               |
      | Volume size        | 19968 sectors     |
      | IV offset          | 256 sectors       |
      | Block offset       | 256 sectors       |