FlorianREGAZ / Python-Tls-Client

Advanced HTTP Library
MIT License
678 stars 135 forks source link

signature_algorithms issue #61

Open Turkisec opened 1 year ago

Turkisec commented 1 year ago

i want to add ECDSA with SHA-256 RSASSA-PSS with SHA-256 RSASSA-PKCS1-v1_5 with SHA-256 ECDSA with SHA-384 RSASSA-PSS with SHA-384 RSASSA-PKCS1-v1_5 with SHA-384 RSASSA-PSS with SHA-512 RSASSA-PKCS1-v1_5 with SHA-512 ,

i tried

 supported_signature_algorithms=[
  "ECDSAWithSHA256",
  "SHA256",
  "SHA384",
  "SHA512",
  "SHA256WithRSAEncryption",
  "SHA384WithRSAEncryption",
  "SHA512WithRSAEncryption",
  "ECDSAWithSHA384"
    ],

https://www.cryptosys.net/pki/manpki/pki_SupportedAlgorithms.html

but i face this error

ECDSAWithSHA256 is not a valid supportedSignatureAlgorithm