-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Georg Bramm
committed
Mar 21, 2022
1 parent
a26275e
commit 36b21e2
Showing
24 changed files
with
928 additions
and
1,372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Rabe console app | ||
|
||
This is an example console app, to test the implemented schemes | ||
|
||
For integration in distributed applications contact [us](mailto:info@aisec.fraunhofer.de). | ||
|
||
|
||
# Building | ||
|
||
In order to compile and test: | ||
- install rust nightly | ||
- git clone library | ||
- install build-essential | ||
- Do one of the following | ||
- run `cargo run -p rabe-console` from parent directory | ||
- run `cargo run` from this directory | ||
- compile using `cargo build --release` and afterwards run executable `./target/release/rabe` | ||
|
||
## Example calls using executable | ||
- Setup a AC17 KP-ABE scheme | ||
* ```bash | ||
$ rabe --s AC17CP setup | ||
``` | ||
* This generates msk.key and pk.key | ||
- Generate a new key with attributes "A" and "B" | ||
* ```bash | ||
$ rabe --s AC17CP keygen --a 'A B' | ||
``` |
Oops, something went wrong.