Coder Social home page Coder Social logo

encryption's People

Contributors

barboni avatar cereus93 avatar lukasspo avatar mquandalle avatar philippspo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

encryption's Issues

Is under maintenance?

Thanks for your package.

Last update was happened 2015 sep only.
Can you confirm, is it possible to use your package for recent 1.4 meteor version.

Support public (unencrypted) documents

Hi Philipp,

I'm considering using this package in a hosted (“SASS”) version of http://wekan.io to encrypt user data (boards, cards, files). One particular need that I have is to support public boards that can be read by anyone. Do you have any suggestion about how this could be implemented using the planifica:encryption package? Maybe this would require adding a encryptionCondition(doc) -> bool option for the CollectionEncryption constructor?

Re-factor the initEncryptionSchema method

Currently the server-side code define the following method:

initEncryptionSchema: function (collectionName, fieldKey) {
    var schema = {};
    schema[fieldKey] = {
        type: Boolean,
        defaultValue: false
    };
    // add ecrypted field to the collection schema
    Mongo.Collection.get(collectionName).attachSchema(schema);
}

This method allow an attacker to break any application using this package by overwriting some fields definitions on the server-side schema.

Implement support for Collection.find and parameters

It would be nice, if it would possible to get decrypted data by using Collection.find and not only Collection.findOne and to use parameters on encrypted fields (e.g. $regex or {fieldName: "blah"}).

A use-case would be e.g. a password manager, because there you have more than one document to fetch and display.

Document browser support

This package doesn't work on old browsers (for instance because IE9 doesn’t support Uint8Array). We should document that.

How to search / filter encrypted documents?

Say the client sees a table and pagination is done on the server cause 5000 documents would slow down the client to much. How can it be done to filter the table?

thanks for your package

Collections should be able to encrypt documents using the document key of a principal from another collection

For example:

Each document in "Chats" could have a principal that can be shared with a new user at any time but each document in "Messages" would be encrypted using the Chats principal, thereby cutting down on the amount of space required to store the keys. There would no longer need to be Principal keys for each Message document. This would also cutting down on the amount of time it takes to share an entire group of Messages with a new user.

I am not sure if this is possible with the current implementation but my understanding of the code suggests that it is not.

Encrypt on Insert?

Really cool solution. Are inserts into collections not encrypted? Updates encrypt just fine, but when initially inserting, I get plain text on the server-side collection. Thanks.

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.