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.7.5 to 0.7.6

33

bin/yaml-crypt-cli.js

@@ -121,4 +121,3 @@ #!/usr/bin/env node

metavar: "<name>",
help:
"Read a key from stdin and write it to the configuration file under the given name"
help: "Read a key from stdin and write it to the configuration file under the given name"
});

@@ -128,34 +127,27 @@ parser.add_argument("-k", {

metavar: "<key>",
help:
'Use the given key to decrypt data. Can be given multiple times. See section "Key sources" for details'
help: 'Use the given key to decrypt data. Can be given multiple times. See section "Key sources" for details'
});
parser.add_argument("-K", {
metavar: "<key>",
help:
'Use the given key to encrypt data. See section "Key sources" for details'
help: 'Use the given key to encrypt data. See section "Key sources" for details'
});
parser.add_argument("-a", "--algorithm", {
metavar: "<algorithm>",
help:
'The encryption algorithm to use. Must be one of "fernet" (default) or "branca"'
help: 'The encryption algorithm to use. Must be one of "fernet" (default) or "branca"'
});
parser.add_argument("-E", "--edit", {
action: "store_true",
help:
"Open an editor for the given files, transparently decrypting and encrypting the file content"
help: "Open an editor for the given files, transparently decrypting and encrypting the file content"
});
parser.add_argument("-B", "--base64", {
action: "store_true",
help:
"Encode values using Base64 encoding before encrypting and decode values after decrypting"
help: "Encode values using Base64 encoding before encrypting and decode values after decrypting"
});
parser.add_argument("--path", {
metavar: "<yaml-path>",
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"'
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.add_argument("--query", {
metavar: "<yaml-query>",
help:
"Output the value for the given YAML query path. Uses the same syntax as the --path option"
help: "Output the value for the given YAML query path. Uses the same syntax as the --path option"
});

@@ -168,14 +160,11 @@ parser.add_argument("--raw", {

action: "store_true",
help:
"Allows to pass directories as input, process all files within the given directories (non-recursive)"
help: "Allows to pass directories as input, process all files within the given directories (non-recursive)"
});
parser.add_argument("-R", "--recursive", {
action: "store_true",
help:
"Allows to pass directories as input, process all files within the given directories and subdirectories recursively"
help: "Allows to pass directories as input, process all files within the given directories and subdirectories recursively"
});
parser.add_argument("--continue", {
action: "store_true",
help:
"Continue processing even when encryption/decryption of one or more files failed"
help: "Continue processing even when encryption/decryption of one or more files failed"
});

@@ -182,0 +171,0 @@ parser.add_argument("--keep", {

{
"name": "yaml-crypt",
"version": "0.7.5",
"version": "0.7.6",
"description": "Encrypt and decrypt YAML documents",

@@ -37,6 +37,6 @@ "license": "MIT",

"coveralls": "^3.1.0",
"eslint": "^7.25.0",
"mocha": "^8.3.2",
"eslint": "^7.26.0",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"prettier": "^2.2.1"
"prettier": "^2.3.0"
},

@@ -43,0 +43,0 @@ "prettier": {

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