[Cryptography-dev] Validate SSH key

Alex Gaynor alex.gaynor at gmail.com
Mon Feb 28 09:43:34 EST 2022


What does it mean to you to validate an SSH key?

pyOpenSSL does not have any functions for interacting with
SSH-formatted keys. cryptography has a function for parsing them:
https://cryptography.io/en/latest/hazmat/primitives/asymmetric/serialization/#openssh-public-key

Alex

On Mon, Feb 28, 2022 at 9:40 AM Seyed Mohammad Fakhraie
<fk.smoh at gmail.com> wrote:
>
> Greetings,
> I'm receiving encoded SSH keys from the user which I need to validate.
> Does pyopenssl have a function for validating SSH keys?
> _______________________________________________
> Cryptography-dev mailing list
> Cryptography-dev at python.org
> https://mail.python.org/mailman/listinfo/cryptography-dev



-- 
All that is necessary for evil to succeed is for good people to do nothing.


More information about the Cryptography-dev mailing list