MCPcopy Create free account
hub / github.com/libgit2/pygit2 / set_ssl_ciphers

Method set_ssl_ciphers

pygit2/settings.py:247–249  ·  view source on GitHub ↗

Set the SSL ciphers to use for HTTPS connections

(self, ciphers: str | bytes)

Source from the content-addressed store, hash-verified

245 option(Option.SET_USER_AGENT_PRODUCT, value)
246
247 def set_ssl_ciphers(self, ciphers: str | bytes) -> None:
248 """Set the SSL ciphers to use for HTTPS connections"""
249 option(Option.SET_SSL_CIPHERS, ciphers)
250
251 def enable_strict_object_creation(self, value: bool = True) -> None:
252 """Enable or disable strict object creation validation"""

Callers 1

test_ssl_ciphersFunction · 0.80

Calls 1

optionFunction · 0.90

Tested by 1

test_ssl_ciphersFunction · 0.64