afk11 / ecssh
Utility to manage elliptic curve ssh keys
Installs: 29
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Type:application
Requires
- afk11/pkcs5: 0.0.10
- mdanter/ecc: ~0.4
- paragonie/random_compat: ~2.0
Requires (Dev)
- phpunit/phpunit: ~5.3
- squizlabs/php_codesniffer: ~2
This package is auto-updated.
Last update: 2024-10-23 05:34:38 UTC
README
This library contains some basic tools for working with elliptic curve SSH keys.
Private keys's can be created using PHPECC, and serialized using it's DER/PEM private key serializer. There is also the EncryptedPrivateKeySerializer, used to create older SSH formatted keys. PKCS#8 encoding is on the wishlist.
There is also an SshPublicKeySerializer, which encodes the curve/public key in the SSH format. This is the encoding used for authentication (authorized_keys, Github, etc).
https://tools.ietf.org/html/rfc5656