Giter Site home page Giter Site logo

Comments (2)

nguyenquangtrung avatar nguyenquangtrung commented on September 16, 2024 2

Hi,

I'm using OpenABE for a project
When I encrypted openabe on the windown and send to encrypted text to linux with same key but not decrypted
I don't know if openabe supports this kind of thing?

from openabe.

PekeDevil avatar PekeDevil commented on September 16, 2024

For decryption, you need to specify a ciphertext, a secret key, and some public parameters, let's call them PK. Public parameters are not exchangeable. I don't think this is an issue of Linux VS windows, but of incompatible PK. If you have a secret key generated in system A, it has been generated according to a PKa, and you may also have generated some ciphertexts related to that system (let's call them CTa).

If you are generating a second system in your windows machine (let's call it system B), you may also have generated PKb, so you will not be able to decrypt things coming from system A. Instead, you need to send the ciphertext and the public parameters, and the user needs to use the corresponding secret key.

Summarizing:

CTa requires PKa and SKa to be decrypted.
CTb requires PKb and SKb to be decrypted.

A user may hold both SKa and SKb, but then they must know when to pick which one to use and the associated PK.

Hope this helps, since I see this issue is quite old. If not, I hope it helps some future user.

from openabe.

Related Issues (20)

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.