Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decryption Issue #1

Open
rahimKassimali opened this issue Oct 20, 2016 · 4 comments
Open

Decryption Issue #1

rahimKassimali opened this issue Oct 20, 2016 · 4 comments

Comments

@rahimKassimali
Copy link

We are having problems in decryption of the file which we have encrypted first.
So kindly can you provide us sample code of encryption and decryption

this is our code for decryption
String[] attr = {"teacher","student"};
test.setup(pubfile, mskfile, attr);
test.dec(pubfile, prvfile, outputfile, decfile);

1

@chunhuiyap
Copy link

Hi, I'm also having the same problems in decryption.
Have u figured out what is the error?

@asom2016
Copy link

same the probem
how you solve it

@rahimKassimali
Copy link
Author

Basically the problem is who so ever made this project didn't put any return condition in recursion function because of which the function keeps on calling it self. The project was not working even after lots of efforts

@SudoHenk
Copy link

This issue is rather simple to fix, as the problem is the (de)serialization and not the crypto involved.

I'm fiddling around with it at the moment at https://github.com/SudoHenk/kpabe

Would be happy to create a pull request, but more things seem to be going wrong (such as expressing policies).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants