yaml-crypt
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -63,6 +63,10 @@ const yaml = require('js-yaml'); | ||
if (key === null) { | ||
if (!key) { | ||
throw new Error('No matching key to decrypt the given data!'); | ||
} | ||
if (!encryptionKey) { | ||
encryptionKey = key; | ||
} | ||
const reencrypt = (key !== encryptionKey); | ||
@@ -69,0 +73,0 @@ |
{ | ||
"name": "yaml-crypt", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Encrypt and decrypt YAML documents", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53997
1292