Sha256: 46cf4ae47557c88fe6eb51b39f5566a9802381e90d4de00123887a538a3e20c2

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

Stored size: 1.5 KB

Contents

Feature: Generated Shamir Key

Scenario: Lock Away Key Shares With Generated Shamir Key
  Given the blank contract:
    """javascript
      {
        "header": {},
        "vaults": {
          "s_1":{
            "fill_with": "EXTERNAL_DATA",
            "lock_with": "UNLOCKED",
            "unlock_with": "UNLOCKED",
            "contents": ""
          },

          "s_2":{
            "fill_with": "EXTERNAL_DATA",
            "lock_with": "UNLOCKED",
            "unlock_with": "UNLOCKED",
            "contents": ""
          },

          "s_3":{
            "fill_with": "EXTERNAL_DATA",
            "lock_with": "UNLOCKED",
            "unlock_with": "UNLOCKED",
            "contents": ""
          },

          "s_4":{
            "fill_with": "EXTERNAL_DATA",
            "lock_with": "UNLOCKED",
            "unlock_with": "UNLOCKED",
            "contents": ""
          },

          "s_5":{
            "fill_with": "EXTERNAL_DATA",
            "lock_with": "UNLOCKED",
            "unlock_with": "UNLOCKED",
            "contents": ""
          },

          "message":{
            "fill_with": "EXTERNAL_DATA",
            "lock_with": "GENERATED_SHAMIR_KEY['5','3','s_1','s_2','s_3','s_4','s_5']",
            "unlock_with": "ASSEMBLED_SHAMIR_KEY['s_1','s_2','s_3','s_4','s_5']",
            "contents": ""
          }
        }
      }
    """
  And I create a new message
  When I attempt to lock the message with a generated shamir key
  Then key shares are created and locked away in their cooresponding vaults

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vault-tree-0.3.4 features/keywords/generated_shamir_key.feature
vault-tree-0.3.3 features/keywords/generated_shamir_key.feature