Socket
Socket
Sign inDemoInstall

yaml-crypt

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaml-crypt - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

8

bin/yaml-crypt-cli.js

@@ -142,11 +142,11 @@ #!/usr/bin/env node

action: 'storeTrue',
help: 'Encode/decode values using Base64 encoding before processing'
help: 'Encode values using Base64 encoding before encrypting and decode values after decrypting'
});
parser.addArgument(['--path'], {
metavar: '<yaml-path>',
help: 'Only process values below the given YAML path. For the document {obj:{key:secret},other:[value1,value2]} use "obj.key" to only process "secret"'
help: 'Only process values below the given YAML path. For the document {obj:{key:secret},other:[value1,value2]} use "--path=obj.key" to only process "secret"'
});
parser.addArgument(['--raw'], {
action: 'storeTrue',
help: 'Encrypt/decrypt raw messages from stdin instead of YAML documents'
help: 'Encrypt/decrypt raw messages instead of YAML documents'
});

@@ -164,3 +164,3 @@ parser.addArgument(['-D', '--dir'], {

metavar: '<file>',
help: 'Input files to process'
help: 'Input file(s) to process'
});

@@ -167,0 +167,0 @@ if (process.argv && process.argv.includes('--help')) {

{
"name": "yaml-crypt",
"version": "0.3.2",
"version": "0.3.3",
"description": "Encrypt and decrypt YAML documents",

@@ -28,2 +28,3 @@ "license": "MIT",

"test": "nyc mocha --timeout=8000 --check-leaks",
"build": "yarn lint && yarn test",
"coverage": "nyc report --reporter=text-lcov | coveralls"

@@ -30,0 +31,0 @@ },

@@ -44,2 +44,4 @@ # yaml-crypt

To specify an explicit operation, use `-e` or `-d` for encryption or decryption.
You can also encrypt only certain parts of a file. Given the following YAML file

@@ -46,0 +48,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc