Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down