alphp / crypto-key-tools
A self-hosted collection of tools for generating, converting and inspecting cryptographic keys and related formats.
Package info
github.com/alphp/Crypto-Key-Tools
Language:HTML
Type:project
pkg:composer/alphp/crypto-key-tools
Requires
- phpseclib/phpseclib: ^3.0
README
Crypto Key Tools
A self-hosted collection of tools for generating, converting and inspecting cryptographic keys and related formats.
Generate, convert and inspect cryptographic keys without sending sensitive data to third-party services.
Why?
Many online tools are extremely useful when you need to generate a key pair, convert between formats or inspect certificates. However, using a third-party website means trusting that sensitive material is handled correctly.
Crypto Key Tools is designed for users and organizations that prefer to keep cryptographic material entirely within their own infrastructure.
Deploy it on your workstation, development machine or internal server and process your keys without sending them to external services.
Features
- Generate cryptographic key pairs.
- Convert keys between multiple formats.
- Inspect keys, certificates and related cryptographic data.
- Browser-based interface.
- Self-hosted.
- Open source.
- Easy deployment with Composer.
Why self-host?
Although many online cryptographic tools perform all operations locally in the browser, self-hosting provides additional benefits:
- You control the application that is being executed.
- No dependency on the availability of external websites.
- Suitable for isolated or air-gapped environments.
- Compatible with corporate security policies.
- No need to expose sensitive material outside your network.
Installation
Recommended
Install the latest version directly with Composer:
composer create-project alphp/crypto-key-tools
The project will be installed in a new crypto-key-tools directory, ready to be served by your web server.
From source
If you want to contribute or modify the project, clone the repository instead:
git clone https://github.com/alphp/crypto-key-tools.git
cd crypto-key-tools
composer install
Usage
- Deploy the project to your web server (or run it locally).
- Open the application in your browser.
- Select the desired cryptographic operation.
- Generate, inspect or convert your keys.
- Save or copy the generated output.
Security
This project is intended to be run on systems that you control.
For maximum security:
- Use HTTPS whenever possible.
- Restrict access to trusted users.
- Keep your deployment up to date.
- Verify generated results before using them in production.
Inspiration
This project was inspired by the excellent online utilities available at:
https://8gwifi.org/sshfunctions.jsp https://emn178.github.io/online-tools/rsa/key-generator/
The goal is not to replace those tools, but to provide a self-hosted alternative for environments where privacy, availability or compliance requirements make external services undesirable.
Contributing
Contributions are welcome.
Feel free to open an issue or submit a pull request if you have ideas for new features, improvements or bug fixes.
License
This project is licensed under the MIT License. See the LICENSE file for details.