This little demo project shows how to:
- Connect in python to Ciphertrust Manager instance (getting the Bearer Token, etc...).
- Create an Asymmetric Key Pair (RSA-4096 by default) on Ciphertrust Manager.
- Retreive Public RSA Key material using Public Key ID.
- Encrypt locally (on the client) a payload using the RSA Public Key from Ciphertrust Manager.
- Encrypt remotely (on the Ciphtertrust Manager instance) a payload using the RSA Public Key from Ciphertrust Manager.
- Decrypt remotely (on the Ciphtertrust Manager instance) previously ancrypted payloads using the RSA Private Key.
The provided code does not include any binaries, code or snippets licenced under commercial license. Ciphertrust Manager is a registered trademark of Thales Group.
These instructions will give you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on deploying the project on a live system.
Requirements for the software and other tools to build, test and push
- Build an instance of Ciphertrust Manager, the Community Edition will do the job. Contact your local encryption solution dealer or Thales Services Numériques or Thales Cyber Digital Solutions to get the VM image.
- Activate the Community Edition license on Ciphertrust Manager
- Create a "Key Admin" user
- Install python, git, etc...
- Set the right variables in config.py
- Launch menu.py
This project is licensed under the Apache 2.0 License