Implement validation of inputs from internal-load-file #27

Closed
opened 2025-01-01 08:40:06 +00:00 by ryan · 1 comment
Owner

Workflow format (loose YAML instead of TOML for brevity):

workflows:
- name: load-validated-file
  steps:
  - type: internal-load-file
    values:
      keyring: "keyring.pgp"
      signatures: "signatures/"
      filename: "values.json"
      quorum: "2-of-3"

signatures would be loaded either from a cleartext sig of values.json and/or from the signatures directory. signatures would be validated against a keyring file. quorum, for now, is a simple string, but can be a policy file later.

Workflow format (loose YAML instead of TOML for brevity): ``` workflows: - name: load-validated-file steps: - type: internal-load-file values: keyring: "keyring.pgp" signatures: "signatures/" filename: "values.json" quorum: "2-of-3" ``` signatures would be loaded either from a cleartext sig of values.json and/or from the `signatures` directory. signatures would be validated against a `keyring` file. quorum, for now, is a simple string, but can be a policy file later.
Author
Owner

Closing in favor of ledgers.

Closing in favor of ledgers.
ryan closed this issue 2025-01-02 00:00:24 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/icepick#27
No description provided.