secure-cli 0.1.0__tar.gz → 0.1.1__tar.gz
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.
- {secure_cli-0.1.0 → secure_cli-0.1.1}/PKG-INFO +1 -1
- {secure_cli-0.1.0 → secure_cli-0.1.1}/pyproject.toml +1 -1
- {secure_cli-0.1.0 → secure_cli-0.1.1}/secure_cli/__init__.py +7 -1
- {secure_cli-0.1.0 → secure_cli-0.1.1}/secure_cli.egg-info/PKG-INFO +1 -1
- {secure_cli-0.1.0 → secure_cli-0.1.1}/README.md +0 -0
- {secure_cli-0.1.0 → secure_cli-0.1.1}/secure_cli.egg-info/SOURCES.txt +0 -0
- {secure_cli-0.1.0 → secure_cli-0.1.1}/secure_cli.egg-info/dependency_links.txt +0 -0
- {secure_cli-0.1.0 → secure_cli-0.1.1}/secure_cli.egg-info/entry_points.txt +0 -0
- {secure_cli-0.1.0 → secure_cli-0.1.1}/secure_cli.egg-info/top_level.txt +0 -0
- {secure_cli-0.1.0 → secure_cli-0.1.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: secure-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: secure: the Secure.com command line. Downloads the signed binary for your platform and verifies its checksum.
|
|
5
5
|
License: See LICENSE in securedotcom/secure-cli
|
|
6
6
|
Project-URL: Homepage, https://secure.com
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "secure-cli"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.1"
|
|
8
8
|
description = "secure: the Secure.com command line. Downloads the signed binary for your platform and verifies its checksum."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -65,7 +65,13 @@ def ensure_binary():
|
|
|
65
65
|
z.extract(exe, tmp)
|
|
66
66
|
else:
|
|
67
67
|
with tarfile.open(ap) as t:
|
|
68
|
-
|
|
68
|
+
# The "data" filter exists only on Python 3.12 and recent patch releases
|
|
69
|
+
# of 3.9 to 3.11. Without it, extract the one known member. The archive
|
|
70
|
+
# already matched its SHA-256 above.
|
|
71
|
+
if hasattr(tarfile, "data_filter"):
|
|
72
|
+
t.extract(exe, tmp, filter="data")
|
|
73
|
+
else:
|
|
74
|
+
t.extract(exe, tmp)
|
|
69
75
|
os.replace(os.path.join(tmp, exe), path)
|
|
70
76
|
os.chmod(path, os.stat(path).st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
|
|
71
77
|
return path
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: secure-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: secure: the Secure.com command line. Downloads the signed binary for your platform and verifies its checksum.
|
|
5
5
|
License: See LICENSE in securedotcom/secure-cli
|
|
6
6
|
Project-URL: Homepage, https://secure.com
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|