Coder Social home page Coder Social logo

enc-service's People

Contributors

indrajra avatar jyotsnaraveendran avatar kochhar avatar rjshrjndrn avatar smyaltamash avatar vrayulu avatar

Watchers

 avatar  avatar  avatar  avatar

enc-service's Issues

Error during Decryption

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

Build fails for tag:release-3.8.0_RC1

Build fails with below error:

#8 73.66 npm ERR! Linux 5.4.0-1104-azure
#8 73.66 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i"
#8 73.66 npm ERR! node v6.14.4
#8 73.66 npm ERR! npm v3.10.10
#8 73.66 npm ERR! path /home/enc/node_modules/.staging/@types/node-54e63457/package.json
#8 73.66 npm ERR! code ENOTDIR
#8 73.66 npm ERR! errno -20
#8 73.66 npm ERR! syscall open
#8 73.66
#8 73.66 npm ERR! ENOTDIR: not a directory, open '/home/enc/node_modules/.staging/@types/node-54e63457/package.json'
#8 73.66 npm ERR!
#8 73.66 npm ERR! If you need help, you may report this error at:
#8 73.66 npm ERR! https://github.com/npm/npm/issues
#8 73.72
#8 73.72 npm ERR! Please include the following file with any support request:
#8 73.72 npm ERR! /home/enc/npm-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.