Skip to content

Reduce amount of ssl related params in client API #2626

Closed
@asvetlov

Description

Now we have verify_ssl, fingerprint and ssl_context.

The proposal is replacing all of them with ssl.

  • if ssl is instance of ssl.SSLContext it is used as ssl_context
  • if ssl is False -- verify_ssl=False logic is applied
  • if ssl is instance of new Fingerprint class -- fingerprit check is applied

Existing params should be deprecated.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions