python-sshpubkeys
python-sshpubkeys copied to clipboard
OpenSSH public key parser for Python
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. -...
Using the latest version I am having a problem using the parse function that was working under python2 previously. ```Traceback (most recent call last): File "/opt/ssh_key_deploy.py", line 321, in main()...
It would be helpful to also be able to write the contents of an AuthorizedKeysFile instance out to disk, in addition to parsing authorized_keys. This probably wouldn't involve _too_ much...
authorized_keys files allow tabs as separators, backslash-escaped double quotes in option values and require double quotes around option values. These cases are not treated correctly by sshpubkeys.AuthorizedKeysFile. See attached example...
A recent issue with dependency ecsda 0.14.0 (https://github.com/warner/python-ecdsa/issues/159) caused fatal errors with sshpubkeys library. To mitigate this type of issue with dependencies I suggest pinning to specific versions VS minimum...
Noticed today that I was not using the latest version of this module, and upon investigation it seems that this is because the last version in PyPI is 3.3.1. Looks...
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.3.2 to 42.0.0. Changelog Sourced from cryptography's changelog. 42.0.0 - 2024-01-22 * **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL < 3.7. * **BACKWARDS INCOMPATIBLE:** Loading a PKCS7 with...
I am using this simple function, which works from a terminal, but it doesn't work from Django: ```python def validate_ssh_public_key(key_string): """validate ssh public key""" try: ssh = SSHKey(key_string) except Exception...
Thanks for this library. I am creating keys using the SSHKey object providing each bit and pieces from a database. I would like now generating a line of authorized_keys with...