Repository navigation
Home
OpenABE is a C/C++ library for attribute-based encryption (ABE): data is encrypted under a policy such as (Doctor or Nurse) and Floor in {2-5}, and only keys whose attributes satisfy it can decrypt. It also ships public-key encryption, ECDSA signatures, authenticated symmetric encryption, a keystore and command-line tools.
This fork keeps the original Zeutro library alive on current toolchains: OpenSSL 4.0.1, RELIC 0.7.0, C++17, and native Windows (MSYS2/MinGW64) builds, all covered by CI.
The reference documentation (installation, overview, benchmarking) lives in the repository under
docs/and is versioned with the code. This wiki holds guides, tutorials and project notes.
- What is ABE?: the concepts in five minutes
- Getting Started: build, test and install on Linux or Windows
- Pick a tutorial:
- Tutorial: CP-ABE: policies on ciphertexts (role-based access)
- Tutorial: KP-ABE: policies on keys (content-based access)
- Tutorial: Public-Key Encryption and Signatures
- Policy and Attribute Syntax: everything you can write in a policy
- FAQ: when something goes wrong
- CONTRIBUTING.md: rules for pull requests
- Development Setup: toolchain, clang-format 18.1.8, VS Code
-
Codebase Tour: where things live in
src/ - Testing and CI: what runs locally and on every PR
- RELIC Dual Build: read this before touching anything RELIC-related
| Area | Pages |
|---|---|
| Using the library | Getting Started · Tutorial-CP-ABE · Tutorial-KP-ABE · Tutorial-PKE-and-Signatures · Key Management |
| Reference | Policy and Attribute Syntax · CLI Reference · Python Bindings · Error Codes |
| Contributing | Development Setup · Codebase Tour · Testing and CI |
| Design notes | RELIC Dual Build · Known Limitations |
| Help | FAQ |
| Scheme ID | What it is | Crypto box class |
|---|---|---|
CP-ABE |
Ciphertext-policy ABE (Waters), CCA-secure | OpenABECryptoContext |
KP-ABE |
Key-policy ABE (GPSW), CCA-secure | OpenABECryptoContext |
PK-ENC |
One-pass Diffie-Hellman public-key encryption (NIST SP 800-56A) | OpenPKEContext |
| ECDSA | Digital signatures on NIST curves | OpenPKSIGContext |
Multi-authority ABE (MA-ABE) appears in some headers but is not implemented: see Known Limitations.
OpenABE is released under the AGPL 3.0. Copyright (c) 2018-2020 Zeutro, LLC.
OpenABE · AGPL-3.0 · Found a mistake in this wiki? Open an issue.
Using OpenABE
Reference
Contributing
Design notes
Help