Sha256: 067f1109cdc89db0bed1c45a40a62ac6ab0fcce891b296a7da6277451cf90509

Contents?: true

Size: 664 Bytes

Versions: 6

Compression:

Stored size: 664 Bytes

Contents

Feature: Encryption
  In order to keep a file private
  As a user
  I want to encrypt the file

  Background:
    Given a key pair for Slow Joe Crow with passphrase test
    And a file named "secrets" containing "some content"
    And the file "secrets.gpg" does not exist

  Scenario: Encrypt
    When I encrypt the file "secrets" for "Slow Joe Crow"
    Then the file "secrets.gpg" should exist
    And the file "secrets.gpg" should not contain "some content"

  Scenario: Unknown recipient
    When I try to encrypt the file "secrets" for "Sue"
    Then the command should raise an error matching "key not found"
    And the file "secrets.gpg" should not exist

Version data entries

6 entries across 6 versions & 2 rubygems

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