Obaid Qatan

Results 16 comments of Obaid Qatan

Rather than distributng the source code, popping up a "Login" window into the browser would way more reliable...just like we usually for authintication with Github, Heroku, etc. This will work...

One reasonable case is that the permissions to your "nodejs" are denied, the folder at which "npm" locates. On the other hand we have "yarn", which is not locating at...

I'm facing the same issue

Hi, it turned out that `iv` may not always be 16 bits, which leads to such an error...probably. The solution is to convert them into some unit type like `Buffer`....

The issue is still there on Windows 10 , Electron v18.1.0 The problem as described is probably related to the current window stack order due to generation of a native...

> Facing the same issue here. Can you mention the steps to reproduce the error?

Can you mention details like, node version, crypto version etc. > ```js > const ENCRYPT_IV = '115f3d8d51ed3ecd9633fd9c8aa9de25' > const ENCRYPT_IS = '3f42550dc722917ac8eae5dd613c52b1' > > const initVector = Buffer.from(ENCRYPT_IV, 'utf-8'); >...

> Node v18.12.1 > > crypto version follows the node version right? You will find it in your `package.json`

> ```js > const ENCRYPT_IV = '115f3d8d51ed3ecd9633fd9c8aa9de25' > const ENCRYPT_IS = '3f42550dc722917ac8eae5dd613c52b1' > > const initVector = Buffer.from(ENCRYPT_IV, 'utf-8'); > const securitykey = Buffer.from(ENCRYPT_IS, 'utf-8'); > const cipher = crypto.createCipheriv(algorithm,...

Try generate the key and vector as follows and let me know: ```js const algorithm = 'aes-128-cbc'; const key = crypto.randomBytes(16); const iv = crypto.randomBytes(16); const cipher = crypto.createCipheriv(algorithm, key,...