pyjks
Pure-Python Java Keystore (JKS) library
Decision gist · record as of 2026-08-14
Yes, if you need to read Java keystores in Python and can accept dormant maintenance. The library is mature, dependency-free, and carries no known vulnerabilities. However, verify that it handles your specific keystore format and encryption algorithms, and be aware that no updates have been released since 2020—consider it a stable tool for straightforward keystore parsing rather than a foundation for new security-critical infrastructure.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with no runtime dependencies.
- The package is marked mature and has been stable since 2013, though the last release was in 2020 and the repository shows dormant maintenance status—no recent updates to address modern Python versions or security patches.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and places no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2020-04-19 (2308 days) · last repo commit 2024-02-19 · 134 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 814,425 downloads/mo, #4,992 on PyPI
Alternatives
Verify before relying
pip install pyjks
import pyjks
keystore = pyjks.KeyStore.load('keystore.jks', 'passphrase')
print(keystore.private_keys)
print(keystore.certs)
print(keystore.secret_keys)- Whether the package works reliably with modern Python versions (3.9+) despite classifiers only listing up to 3.8
- Current compatibility with contemporary JKS format variations and encryption algorithms
- Whether dormant maintenance status poses a risk for security-sensitive keystore operations
What it is and what it does
PyJKS is a pure-Python library that reads and parses Java KeyStore files—the standard format for storing cryptographic keys and certificates in Java applications—without needing a JVM. It supports multiple keystore formats (JKS, JCEKS, BKS, UBER) and exposes the contents as Python objects, allowing you to extract private keys, certificates, and secret keys for use in Python-based security workflows.
The library has been stable and mature since its first release in 2013 and carries no external dependencies, making it lightweight to install. However, its latest release was in 2020 and the repository is no longer actively maintained, which may be a consideration if you need support for newer keystore features, encryption algorithms, or compatibility with the latest Python versions.
Use it for
- Extract SSL certificates and private keys from Java keystores for use in Python web servers or TLS clients
- Migrate Java-based security configurations to Python applications by reading keystore files
- Automate certificate rotation or auditing by parsing keystore contents programmatically
- Load secret keys stored in Java keystores for cryptographic operations in Python
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to read Java keystores in Python and can accept dormant maintenance.
The library is mature, dependency-free, and carries no known vulnerabilities. However, verify that it handles your specific keystore format and encryption algorithms, and be aware that no updates have been released since 2020—consider it a stable tool for straightforward keystore parsing rather than a foundation for new security-critical infrastructure.
Install
pyjks on PyPI
Before you install
Installation is straightforward with no runtime dependencies. The package is marked mature and has been stable since 2013, though the last release was in 2020 and the repository shows dormant maintenance status—no recent updates to address modern Python versions or security patches.
License in practice
MIT license is permissive and places no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
pip install pyjks
import pyjks
keystore = pyjks.KeyStore.load('keystore.jks', 'passphrase')
print(keystore.private_keys)
print(keystore.certs)
print(keystore.secret_keys)
Verify before relying
- Whether the package works reliably with modern Python versions (3.9+) despite classifiers only listing up to 3.8
- Current compatibility with contemporary JKS format variations and encryption algorithms
- Whether dormant maintenance status poses a risk for security-sensitive keystore operations
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 2,308 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 814,425 / month, #4,992 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 6 - MatureIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: LibrariesTopic :: Utilities |
Evidence: pyjks-20.0.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “java keystore python”
- pyjksPyJKS loads and manipulates Java KeyStore (JKS), JCEKS, BKS, and UBER…
- eth-keyfileLoads, creates, and decrypts Ethereum keyfiles—encrypted JSON files…
- pyjniusPyJNIus lets Python code call Java classes and methods directly using…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also py4j · jdk4py · pip-system-certs · pycnite · truststore · requests-pkcs12 · jpype1 · wincertstore · pyghidra · install-jdk