encrypt-tasks

0.8.37 • Public • Published

Encrypt Tasks

River tasks to encrypt/decrypt files or JSON values.

Install

npm install -g river-tasks

Encrypted JSON format

Encrypt/decrypt tasks look for encrypted JSON values in the default store.

Prepend string values with <~ to encrypt them:

{
  "secret": "<~Encrypt this value!"
}

Encrypt

river encrypt

Decrypt

river decrypt

Internal config

Running encrypt for the first time creates encryptTasks.json in the default store:

Attribute Type Description
files Array.<String> Paths of files to encrypt (relative to the default store, can be glob)
keyPath String Path to "private key" (password hash)
ivs Object.<String, String> Initialization vectors for each file in files

Readme

Keywords

Package Sidebar

Install

npm i encrypt-tasks

Weekly Downloads

4

Version

0.8.37

License

MIT

Unpacked Size

35.3 kB

Total Files

22

Last publish

Collaborators

  • winton