Visit this page to download the Windows release files:
- Open the link above in your browser.
- Find the latest release at the top of the page.
- Download the Windows file if one is listed there.
- Save the file to a folder you can find again.
If the release includes a setup file or package file, download that file and use it as your main app file.
RABE is a tool for revocable attribute-based encryption. In simple terms, it helps control who can read protected data and lets you remove access when needed.
It is built for cases where access rules must change over time. The app supports:
- User access rules based on attributes
- Immediate revocation of user access
- Time-based key updates
- Secure data protection with policy checks
- Structured access control for encrypted data
Before you run RABE on Windows, make sure your system has:
- Windows 10 or Windows 11
- Python 3.8 or later
- A working internet connection for the first setup
- About 200 MB of free disk space
- Permission to install local tools on your PC
RABE also uses these Python packages:
- Charm-Crypto 0.5
- pyparsing
Charm-Crypto depends on GMP and PBC libraries, which may need to be installed first.
These files help build and test the app:
FABEO.py— base CP-ABE flow with setup, key generation, encrypt, and decryptRabe.py— revocable ABE logic with user revocation, time rules, and key updatesMsp.py— access structure supportpolicytree.py— policy parsingsecretutil.py— key helper tools
Use these steps after you download the release or clone the repo.
- Install Python 3.8 or later.
- Open Command Prompt.
- Go to the folder that contains the project files.
- Install the Python packages the project needs.
- Run the main test file.
Example commands:
python --version
pip install pyparsing
python Rabe.pyIf your system uses python3 instead of python, use:
python3 Rabe.pyIf you need to set up the package files by hand, install the Python package first:
pip install pyparsingCharm-Crypto needs extra system libraries. If you run into install issues, install GMP and PBC before you try again.
A common setup path on Windows is:
- Install Python.
- Install the required build tools.
- Install GMP and PBC support.
- Install Charm-Crypto 0.5.
- Install pyparsing.
- Run
Rabe.py.
RABE uses a few clear steps:
- Setup creates the base system values
- KeyGen creates a user key from access attributes
- Encrypt locks data to a rule set
- Decrypt checks if the key matches the rule
- Revocation removes a user’s access
- Key update refreshes keys as time changes
This makes it useful when you need access control that can change after a key is issued.
To check that the app runs, use the test command in the project folder:
python3 Rabe.pyIf that does not work on your PC, use:
python Rabe.pyA successful run should finish without errors and print the test output in the terminal.
If the app does not start, check these items:
- Python is installed and added to PATH
- You are in the correct folder
- The required packages are installed
- Charm-Crypto installed without errors
- GMP and PBC are present on your system
If Windows blocks the file, right-click it and choose to run it with Python from Command Prompt.
Keep the project files in one folder like this:
RABEFABEO.pyRabe.pyMsp.pypolicytree.pysecretutil.py
This makes it easier to run the test file and find each module.
Use RABE when you need:
- Controlled access to encrypted data
- User revocation without changing everything by hand
- Time-based access updates
- Attribute-based rules for file access
- A Python project for encryption testing and research
A simple use flow looks like this:
- Set up the system.
- Create user keys with selected attributes.
- Encrypt data under a policy.
- Share the encrypted file.
- Revoke access when needed.
- Update keys for the next time period.
- Decrypt only if the policy matches
Check the repository for license details before use.