From 6887d1a3c8f6c5a2403f130fd466c48674f6af77 Mon Sep 17 00:00:00 2001 From: Njogu Amos <29255728+njoguamos@users.noreply.github.com> Date: Wed, 29 Apr 2026 22:17:44 +0300 Subject: [PATCH] Add RSA key generation instructions; bump version --- README.md | 10 ++++++++++ pyproject.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f77e62..9363449 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,16 @@ JENGA_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nreplace-with-private-key\n-----E JENGA_LIVE_MODE=false ``` +Generate an RSA key pair with OpenSSL before setting `JENGA_PRIVATE_KEY`: + +```bash +openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048 +openssl rsa -pubout -in private_key.pem -out public_key.pem +``` + +- Save the contents of `private_key.pem` in `JENGA_PRIVATE_KEY`. +- Save the contents of `public_key.pem` in the Jenga dashboard under the Keys section. + > [!INFO] > - `JENGA_LIVE_MODE=true` uses `https://api.finserve.africa` white `JENGA_LIVE_MODE=false` uses `https://uat.finserve.africa` > - For PEM values, you can use either real multiline values or `\n`-escaped text in `.env` files. diff --git a/pyproject.toml b/pyproject.toml index 0999560..534b18a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "paymentsdks-jenga" -version = "0.1.0" +version = "0.2.0" description = "Minimal Python client for selected Jenga APIs" license = { text = "MIT" } readme = "README.md"