bt-cli 0.4.17__py3-none-any.whl → 0.4.19__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bt_cli/__init__.py +1 -1
- bt_cli/cli.py +8 -0
- bt_cli/commands/configure.py +2 -2
- {bt_cli-0.4.17.dist-info → bt_cli-0.4.19.dist-info}/METADATA +2 -1
- {bt_cli-0.4.17.dist-info → bt_cli-0.4.19.dist-info}/RECORD +7 -7
- {bt_cli-0.4.17.dist-info → bt_cli-0.4.19.dist-info}/WHEEL +0 -0
- {bt_cli-0.4.17.dist-info → bt_cli-0.4.19.dist-info}/entry_points.txt +0 -0
bt_cli/__init__.py
CHANGED
bt_cli/cli.py
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
import sys
|
|
4
4
|
from typing import Optional
|
|
5
5
|
|
|
6
|
+
# Use OS certificate store instead of bundled certifi (for enterprise CAs)
|
|
7
|
+
# This must be done before any SSL connections are made
|
|
8
|
+
try:
|
|
9
|
+
import truststore
|
|
10
|
+
truststore.inject_into_ssl()
|
|
11
|
+
except ImportError:
|
|
12
|
+
pass # Python < 3.10 or truststore not available
|
|
13
|
+
|
|
6
14
|
import typer
|
|
7
15
|
|
|
8
16
|
# Check rich version early to give helpful error
|
bt_cli/commands/configure.py
CHANGED
|
@@ -179,8 +179,8 @@ def _configure_interactive(product: Optional[str] = None, profile: Optional[str]
|
|
|
179
179
|
default=str(default) if default else ""
|
|
180
180
|
)
|
|
181
181
|
|
|
182
|
-
# Skip empty optional fields
|
|
183
|
-
if
|
|
182
|
+
# Skip empty optional fields (but keep False booleans - they're valid)
|
|
183
|
+
if value is None or (value == "" and not field_info.get("required")):
|
|
184
184
|
continue
|
|
185
185
|
|
|
186
186
|
# Store secrets in keyring if enabled
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bt-cli
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.19
|
|
4
4
|
Summary: BeyondTrust Platform CLI (unofficial) - Password Safe, Entitle, PRA, EPM
|
|
5
5
|
Author-email: Dave Grendysz <dgrendysz@beyondtrust.com>
|
|
6
6
|
License: MIT
|
|
@@ -25,6 +25,7 @@ Requires-Dist: python-dotenv>=1.0.0
|
|
|
25
25
|
Requires-Dist: pyyaml>=6.0.0
|
|
26
26
|
Requires-Dist: rich<15.0.0,>=13.7.0
|
|
27
27
|
Requires-Dist: shellingham>=1.5.0
|
|
28
|
+
Requires-Dist: truststore>=0.8.0; python_version >= '3.10'
|
|
28
29
|
Requires-Dist: typer<1.0.0,>=0.12.0
|
|
29
30
|
Provides-Extra: all
|
|
30
31
|
Requires-Dist: keyring>=24.0.0; extra == 'all'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
bt_cli/__init__.py,sha256=
|
|
2
|
-
bt_cli/cli.py,sha256
|
|
1
|
+
bt_cli/__init__.py,sha256=qSN5mbNoySPRAgI24nb8MOzBYtQTR2Z3qALTDNZbinU,61
|
|
2
|
+
bt_cli/cli.py,sha256=XivDH3QZIRx9JMBltIiLz3jfkWtJlrtKC2RotOJK7tA,29906
|
|
3
3
|
bt_cli/commands/__init__.py,sha256=Wrf3ZV1sf7JCilbv93VqoWWTyj0d-y4saAaVFD5apU8,38
|
|
4
|
-
bt_cli/commands/configure.py,sha256=
|
|
4
|
+
bt_cli/commands/configure.py,sha256=WElK9grslla0_rqdAmDh0vYpLVH5jP21l1fiYl7vvOw,14364
|
|
5
5
|
bt_cli/commands/learn.py,sha256=BHt4bTH3orQfR-eB9FMGPQZVfTrwakHNYi0QkHQLOy0,7228
|
|
6
6
|
bt_cli/commands/quick.py,sha256=cAQfJgkdxJcWZ4OLasmWoXVyiDjydwD6Nv0AyKLqsNc,32806
|
|
7
7
|
bt_cli/core/__init__.py,sha256=Yv_0gTKQcbEYNbNQ07YiK4sC8ueHktI-D20YlPWlT7g,49
|
|
@@ -115,7 +115,7 @@ bt_cli/pws/models/account.py,sha256=OSCMyULPOH1Yu2WOzK0ZQhSRrggGpb2JPHScwGLqUgI,
|
|
|
115
115
|
bt_cli/pws/models/asset.py,sha256=Fl0AlR4_9Yyyu36FL1eKF29DNsxsB-r7FaOBRlfOg2Q,4081
|
|
116
116
|
bt_cli/pws/models/common.py,sha256=D9Ah4ob5CIiFhTt_IR9nF2cBWRHS2z9OyBR2Sss5yzw,3487
|
|
117
117
|
bt_cli/pws/models/system.py,sha256=D_J0x1A92H2n6BsaBEK9PSAAcs3BTifA5-M9SQqQFGA,5856
|
|
118
|
-
bt_cli-0.4.
|
|
119
|
-
bt_cli-0.4.
|
|
120
|
-
bt_cli-0.4.
|
|
121
|
-
bt_cli-0.4.
|
|
118
|
+
bt_cli-0.4.19.dist-info/METADATA,sha256=wSB2gTV6-O0qoPvJSnWYQB0riqNL4YCUr4HKu0TWPDs,11862
|
|
119
|
+
bt_cli-0.4.19.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
120
|
+
bt_cli-0.4.19.dist-info/entry_points.txt,sha256=NCOEqTI-XKpJOux0JKKhbRElz0B7upayh_d99X5hoLs,38
|
|
121
|
+
bt_cli-0.4.19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|