Comments (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.
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)
- Ciphertext size HOT 1
- Compile command may not work in some environment
- Error When install openabe HOT 11
- OpenABE on ARMv6 HOT 2
- Error while install openabe HOT 5
- OpenSSL Version in the installation script HOT 1
- Error on Windows while installing the library
- Make Command Return Error RELIC Ubuntu 20.04 LTS HOT 1
- ./oabe_enc error: could not open file
- Mac OS make test test_libopenabe
- Mac make HOT 1
- Huge Cipher Text Size on CP-ABE HOT 1
- Build issue on Raspberry Pi ZeroW
- ubuntu20.04 make test HOT 3
- The Specific Implementation of kengen Function
- make / gcc compilation errors on zobject.cpp HOT 1
- MPK and MSK key sharing between two executables HOT 2
- I've issue with "glob" is not exported by the File::Glob module
- zsh: illegal hardware instruction cpabe-setup
- The memory leaks in using CP-ABE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openabe.