Sha256: 106de2c292d427cf5953b68aef8f3a5bc0c65b91180970eda340a5340bae32d2

Contents?: true

Size: 619 Bytes

Versions: 7

Compression:

Stored size: 619 Bytes

Contents

Feature: Decryption
  In order to read an encrypted file
  As a user
  I want to decrypt it
  
  Background:
    Given a file named "secrets" containing "some content"
    And a key pair for Slow Joe Crow with passphrase test

  Scenario: Decrypt with proper recipient/recipient
    Given I encrypt the file "secrets" for "Slow Joe Crow"
    And the file "secrets" does not exist
    When I decrypt the file "secrets.gpg" with passphrase "test"
    Then the file "secrets" should exist
    And the file "secrets" should contain "some content"
  
  # TODO: Scenario for failed decrypt (bad recipient and bad passprhase)

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ruby_gpg-0.3.2 features/decryption.feature
ruby_gpg-0.3.1 features/decryption.feature
ruby_gpg-0.3.0 features/decryption.feature
gitc-ruby_gpg-0.2.0 features/decryption.feature
ruby_gpg-0.2.0 features/decryption.feature
ruby_gpg-0.1.1 features/decryption.feature
ruby_gpg-0.1.0 features/decryption.feature