Sha256: 0b625a11ed4932c0684476237830aa01a290768b23ab5a75c3ec317d09113e9d

Contents?: true

Size: 908 Bytes

Versions: 1

Compression:

Stored size: 908 Bytes

Contents

Feature: eyaml encrypting

  In order to encrypt data
  As a developer using hiera-eyaml
  I want to use the eyaml tool to encrypt data in various ways

  Scenario: encrypt a simple string
    When I run `eyaml -e -o string -s some_string`
    Then the output should match /ENC\[PKCS7,(.*?)\]$/

  Scenario: encrypt a simple file
    When I run `eyaml -e -o string -f test_input.txt`
    Then the output should match /ENC\[PKCS7,(.*?)\]$/

  Scenario: encrypt a binary file
    When I run `eyaml -e -o string -f test_input.bin`
    Then the output should match /ENC\[PKCS7,(.*?)\]$/

  Scenario: encrypt a password
    When I run `./supply_password.sh eyaml -e -o string -p`
    Then the file "password.output" should match /ENC\[PKCS7,(.*?)\]/

  Scenario: encrypt using STDIN
    When I run `./pipe_string.sh encrypt_me eyaml -e -o string --stdin`
    Then the output should match /ENC\[PKCS7,(.*?)\]$/
  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hiera-eyaml-1.3.1 features/encrypts.feature