Open ChrisPanthera opened 6 years ago
Hello,
I've taken the basic example from your documentation:
const gulp = require('gulp'); const encrypt = require("gulp-openssl-encrypt"); const rename = require('gulp-rename'); gulp.task('encrypt', () => { gulp.src(['plaintext.txt']) .pipe(encrypt({ password: 'password', format: 'openssl', decrypt: 'false', algorithm: 'aes-256-cbc', })) .pipe(rename('plaintext.txt.enc')) .pipe(gulp.dest('./')); });
I've included the 'plaintext.txt' file in the same directory as my gulpfile.js.
The following error is being returned:
events.js:165 throw er; // Unhandled 'error' event ^ Error: This file is not an openssl enrypted file
'false' is truthy
And 'enrypted' seems to be a spelling error
Hello,
I've taken the basic example from your documentation:
I've included the 'plaintext.txt' file in the same directory as my gulpfile.js.
The following error is being returned: