You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have installed the code base and testing in our environemnt.
(1) Encryption is working fine,
(2) When we are decrypting we are getting the following error.
(node:7319) DeprecationWarning: Using the automatically created return value from client.query as an event emitter is deprecated and will be removed in [email protected]. Please see the upgrade guide at https://node-postgres.com/guides/upgrading
Executed (default): SELECT "id", "public", "private", "type", "active", "createdAt", "updatedAt" FROM "Keys" AS "Keys"; Elapsed time: 27ms
KeyService listening on port 8013 in development mode
POST /decrypt 500 84.788 ms - 1645
TypeError: Cannot read property 'private' of undefined
at decryptValue (/opt/enc-service-master/app.js:94:57)
at app.post (/opt/enc-service-master/app.js:55:21)
at Layer.handle [as handle_request] (/opt/enc-service-master/node_modules/express/lib/router/layer.js:95:5)
at next (/opt/enc-service-master/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/opt/enc-service-master/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/opt/enc-service-master/node_modules/express/lib/router/layer.js:95:5)
at /opt/enc-service-master/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/opt/enc-service-master/node_modules/express/lib/router/index.js:335:12)
at next (/opt/enc-service-master/node_modules/express/lib/router/index.js:275:10)
at /opt/enc-service-master/node_modules/body-parser/lib/read.js:130:5
at invokeCallback (/opt/enc-service-master/node_modules/raw-body/index.js:262:16)
at done (/opt/enc-service-master/node_modules/raw-body/index.js:251:7)
at IncomingMessage.onEnd (/opt/enc-service-master/node_modules/raw-body/index.js:307:7)
at emitNone (events.js:106:13)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
POST /encrypt 200 15.806 ms - 99
The text was updated successfully, but these errors were encountered:
We have installed the code base and testing in our environemnt.
(1) Encryption is working fine,
(2) When we are decrypting we are getting the following error.
Installed verisons
(1) node-v8.9.2-linux-x64
(2) postgresql-10.1-1-linux-x64
Server Console Message:
(node:7319) DeprecationWarning: Using the automatically created return value from client.query as an event emitter is deprecated and will be removed in [email protected]. Please see the upgrade guide at https://node-postgres.com/guides/upgrading
Executed (default): SELECT "id", "public", "private", "type", "active", "createdAt", "updatedAt" FROM "Keys" AS "Keys"; Elapsed time: 27ms
KeyService listening on port 8013 in development mode
POST /decrypt 500 84.788 ms - 1645
TypeError: Cannot read property 'private' of undefined
at decryptValue (/opt/enc-service-master/app.js:94:57)
at app.post (/opt/enc-service-master/app.js:55:21)
at Layer.handle [as handle_request] (/opt/enc-service-master/node_modules/express/lib/router/layer.js:95:5)
at next (/opt/enc-service-master/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/opt/enc-service-master/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/opt/enc-service-master/node_modules/express/lib/router/layer.js:95:5)
at /opt/enc-service-master/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/opt/enc-service-master/node_modules/express/lib/router/index.js:335:12)
at next (/opt/enc-service-master/node_modules/express/lib/router/index.js:275:10)
at /opt/enc-service-master/node_modules/body-parser/lib/read.js:130:5
at invokeCallback (/opt/enc-service-master/node_modules/raw-body/index.js:262:16)
at done (/opt/enc-service-master/node_modules/raw-body/index.js:251:7)
at IncomingMessage.onEnd (/opt/enc-service-master/node_modules/raw-body/index.js:307:7)
at emitNone (events.js:106:13)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
POST /encrypt 200 15.806 ms - 99
The text was updated successfully, but these errors were encountered: