Open niskadevla opened 5 years ago
Hello. A colleague and I are experiencing the same error.
I am getting this same error as well. On all servers.
Uncaught Error: Unknown cipher
internal/crypto/cipher.js:79
Yes I just began having this error myself, this morning.
Anyone solve? Cannot use Commander ever since :-(
https://github.com/koltyakov/sp-pnp-node/issues/13#issuecomment-487562389
C:\Users\%profile%\.atom\packages\atom-commander\node_modules\simple-encryptor\index.js
use aes-256-cbc instead of aes256 in decrypt and encrypt
var cipher = crypto.createCipheriv('aes-256-cbc', cryptoKey, iv); var decipher = crypto.createDecipheriv('aes-256-cbc', cryptoKey, iv);
Atom : 1.41.0 Electron: 4.2.7 Chrome : 69.0.3497.128 Node : 10.11.0
Work for me! Mac Osx Mojave Modify this file: /Users/nameofuser/.atom/packages/atom-commander/node_modules/simple-encryptor/index.js
var cipher = crypto.createCipheriv('aes-256-cbc', cryptoKey, iv); var decipher = crypto.createDecipheriv('aes-256-cbc', cryptoKey, iv);
Many Thanks to Andrew-Shal !!!!
Work also on Win 10 Modify the same file but in: C:\Users\nameofuser.atom\packages\atom-commander\node_modules\simple-encryptor
[Enter steps to reproduce:]
Atom: 1.41.0 x64 Electron: 4.2.7 OS: Ubuntu 18.04.3 Thrown From: atom-commander package 0.12.0
Stack Trace
Uncaught Error: Unknown cipher
Commands
Non-Core Packages