summaryrefslogtreecommitdiffstats
path: root/features/encryption.feature
blob: 2f30d2ad471ec9bff3bed2869c3af38af9764f56 (plain)
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
26
27
28
29
30
31
@product
Feature: Encryption and verification using GnuPG
  As a Tails user
  I want to be able to easily encrypt and sign messages using GnuPG
  And decrypt and verify GnuPG blocks

  Background:
    Given a computer
    And I start Tails from DVD with network unplugged and I login
    And I generate an OpenPGP key named "test" with password "asdf"
    And I save the state so the background can be restored next scenario

  Scenario: Encryption and decryption using Tails OpenPGP Applet
    When I type a message into gedit
    And I encrypt the message using my OpenPGP key
    Then I can decrypt the encrypted message

  Scenario: Signing and verification using Tails OpenPGP Applet
    When I type a message into gedit
    And I sign the message using my OpenPGP key
    Then I can verify the message's signature

  Scenario: Encryption/signing and decryption/verification using Tails OpenPGP Applet
    When I type a message into gedit
    And I both encrypt and sign the message using my OpenPGP key
    Then I can decrypt and verify the encrypted message

  Scenario: Symmetric encryption and decryption using Tails OpenPGP Applet
    When I type a message into gedit
    And I symmetrically encrypt the message with password "asdf"
    Then I can decrypt the encrypted message