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

ABE attribute values as plain strings #54

Open
giovannibartolomeo01 opened this issue Jan 27, 2021 · 0 comments
Open

ABE attribute values as plain strings #54

giovannibartolomeo01 opened this issue Jan 27, 2021 · 0 comments

Comments

@giovannibartolomeo01
Copy link

giovannibartolomeo01 commented Jan 27, 2021

Hi,

I'm using OpenABE for a project on access control for web/cloud APIs.

From the OpenABE manual (CLI), I've noted the sentence: "Attributes also includes printable symbols/characters such as $, &, #, % and so on." This seems not the case, however, for sign "+".

For example, I've an attribute representing an email address (yes, I know it is a particular one:) and I'm trying to generate a KP ABE key:

oabe_keygen -s KP -p test -o key -i email:[email protected]

which results in the following CLI error:

Driver::error string stream:1.53: syntax error, unexpected $undefined, expecting end of file
./keygen.cpp:runAbeKeygen:119: 'Invalid function input'

Same result using quotes to delimit the value, i.e.

oabe_keygen -s KP -p test -o key -i email:"[email protected]"

EDIT: this happens with other signs which are operators such as ">", "<", "=", space, single and double quotes.

Is there a way to tell the underlying parser that the value of an attribute should be interpreted as a plain string?

Thanks,
Giovanni

@giovannibartolomeo01 giovannibartolomeo01 changed the title Expressiveness of ABE attribute values as plain strings Jan 27, 2021
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

1 participant