Re: [Cryptography-dev] Validate SSH key

2022-02-28 Thread Seyed Mohammad Fakhraie
Thanks a lot Alex. Best, Seyed On Mon, Feb 28, 2022 at 6:32 PM Alex Gaynor wrote: > > Sure, then the parse function in cryptography should do what you want > -- it will either return a public key or raise an exception. > > Alex > > On Mon, Feb 28, 2022 at 9:57 AM Seyed Moham

Re: [Cryptography-dev] Validate SSH key

2022-02-28 Thread Seyed Mohammad Fakhraie
ny 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 >

[Cryptography-dev] Validate SSH key

2022-02-28 Thread Seyed Mohammad Fakhraie
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@python.org