Skip to content

Conversation

bennnnnnnn
Copy link

Pull Request summary:

Making sure the verify parameter is correctly typed (it can also be a str as a path to a CA bundle), make sure it's passable to the ManagerSession and make sure it's actually respected in the requests method.

Description of changes:

This allows you to verify the certificate of your vmanage instance against a specific CA bundle (or certifi's trust store, by putting the flag to True). The parameter still defaults to False, so it's a non-breaking change.

Checklist:

  • [ *] Make sure to run pre-commit before committing changes
  • [ *] Make sure all checks have passed
  • [ *] PR description is clear and comprehensive
  • [ *] Mentioned the issue that this PR solves (if applicable)
  • [ *] Make sure you test the changes

@bennnnnnnn
Copy link
Author

This would solve #94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant