From 8c09f287228c64066c944df529f609d72406e53b Mon Sep 17 00:00:00 2001 From: Saimon Michelson Date: Fri, 6 Feb 2026 14:57:42 -0500 Subject: [PATCH] allow unsafe cookies to support ip based auth --- cterasdk/conf/__init__.py | 2 +- cterasdk/settings.yml | 65 --------------------------------------- 2 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 cterasdk/settings.yml diff --git a/cterasdk/conf/__init__.py b/cterasdk/conf/__init__.py index 2f1161c6..1f68930f 100644 --- a/cterasdk/conf/__init__.py +++ b/cterasdk/conf/__init__.py @@ -12,7 +12,7 @@ def __str__(self): class ClientCookieJar(BaseSettings): - unsafe: bool = False + unsafe: bool = True class ClientConnector(BaseSettings): diff --git a/cterasdk/settings.yml b/cterasdk/settings.yml deleted file mode 100644 index f4bd1648..00000000 --- a/cterasdk/settings.yml +++ /dev/null @@ -1,65 +0,0 @@ ---- -default_cookie_jar: &cookie_jar - cookie_jar: - unsafe: true - -default_connector: &connector - connector: - ssl: true - -default_timeout: &timeout - timeout: - sock_connect: 5 - sock_read: 10 - -default_settings: &default_settings - settings: - <<: *cookie_jar - <<: *connector - <<: *timeout - -# CTERA Portal synchronous and asynchronous client configuration. -core: - syn: - settings: - <<: *cookie_jar - <<: *connector - timeout: - sock_connect: 30 - sock_read: 60 - asyn: - <<: *default_settings - -# CTERA Edge Filer synchronous client configuration. -edge: - syn: - settings: - <<: *cookie_jar - <<: *connector - timeout: - sock_connect: 30 - sock_read: 60 - services: - ssl: prompt - asyn: - <<: *default_settings - -# CTERA Drive synchronous client configuration. -drive: - syn: - <<: *default_settings - -# CTERA asynchronous Direct IO client configuration. -io: - direct: - api: - <<: *default_settings - storage: - <<: *default_settings - streamer: - max_workers: 20 - downloads: ~/Downloads - -audit: - enabled: false - filename: ~ \ No newline at end of file