Skip to content
Claudio Lucisano edited this page Sep 22, 2026 · 2 revisions

OpenABE Wiki

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.

Start here

I want to use OpenABE

  1. What is ABE?: the concepts in five minutes
  2. Getting Started: build, test and install on Linux or Windows
  3. Pick a tutorial:
  4. Policy and Attribute Syntax: everything you can write in a policy
  5. FAQ: when something goes wrong

I want to contribute

  1. CONTRIBUTING.md: rules for pull requests
  2. Development Setup: toolchain, clang-format 18.1.8, VS Code
  3. Codebase Tour: where things live in src/
  4. Testing and CI: what runs locally and on every PR
  5. RELIC Dual Build: read this before touching anything RELIC-related

All pages

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

Supported schemes at a glance

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.

License

OpenABE is released under the AGPL 3.0. Copyright (c) 2018-2020 Zeutro, LLC.

Clone this wiki locally