SSH Key Conversion Utility
Project description
ssh-keyconv
ssh-keyconv is a SSH key conversion utility that can convert SSH private keys between OpenSSH, PEM and DER encoding, and OpenSSH, PKCS8 and Traditional OpenSSL format.
Supported Formats:
- OpenSSH
- PKCS8
- Traditional OpenSSL (trad-openssl)
Supported Encodings:
- PEM
- OpenSSH (PEM)
- DER
Installation
pip install ssh_keyconv
This will install the ssh_keyconv module and the ssh-keyconv executable.
Example usage
- Generate a SSH keypair
ssh-keygen -t rsa -b 4096 -f newkey_rsa
- Convert the private key to PKCS8 format
ssh-keyconv -i newkey_rsa -f openssh -e openssh -o newkey_rsa.pem -F pkcs8 -E pem
Development
- Clone the repo
git clone https://codeberg.org/lkm35t/ssh-keyconf
- Set up a virtualenv
cd ssh-keyconv
make setup
- Run tests
make test
-
Bump the version number in
ssh_keyconv/__init__.py:__version__ -
Build a release
make clean build
- Do a test publish
make publish-test
- Verify the test publish
make verify-publish-test
- Publish to PyPI
make publish
- Verify the publish to PyPI
make test-publish
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ssh_keyconv-0.9.0.tar.gz.
File metadata
- Download URL: ssh_keyconv-0.9.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6d6b05642d5b61c8fa721ffade3c47fbdffe3ef73e4fe2bf046dc488a2d43de
|
|
| MD5 |
9df7bde3af2b3b3952c34acd4dc36032
|
|
| BLAKE2b-256 |
3d092128b04f5714a216c8287966c989f23ab4b8454415f493efbf70f31a9277
|
File details
Details for the file ssh_keyconv-0.9.0-py3-none-any.whl.
File metadata
- Download URL: ssh_keyconv-0.9.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3a0ef2b3ebc5a9b32ead9bc4c20312b9d0a68ff091c2e8898bb2a57704b6942
|
|
| MD5 |
51af0253b8b4c33597a13c40587e574c
|
|
| BLAKE2b-256 |
08b837212218d6718bee6e04a28b0c11893c94b245c6cff398ac2de6f7cf691b
|