MatrixAI / Polykey-CLI

Polykey CLI - Open Source Decentralized Secret Sharing System for Zero Trust Workflows
https://polykey.com
GNU General Public License v3.0
6 stars 3 forks source link

Implement local file system support for `secrets cat` #290

Open aryanjassal opened 1 month ago

aryanjassal commented 1 month ago

Specification

This is a continuation of Polykey-CLI#243. In that issue, a secrets cat was created with support for concatenating the output of multiple files from multiple vaults in order. It can also take in stdin and output that straight to stdout.

The secrets cat command currently only operates on vault's encrypted file system, and not on the actual user's file system. For consistency, we to support that out-of-the-box.

Additional context

Tasks

  1. Allow secrets cat to concatenate system files along with vault files
  2. Add fast-check tests if not already implemented
linear[bot] commented 1 month ago

ENG-413 Implement local file system support for `secrets cat`

CMCDragonkai commented 1 month ago

This is pretty low priority, you're talking about secrets cat ./abc vault1:/abc right?

aryanjassal commented 1 month ago

This is pretty low priority, you're talking about secrets cat ./abc vault1:/abc right?

Yes. This is low priority, and will work as you have written.