You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
15
15
- Node will now retry when fetching snapshots. This is controlled with `command.join.fetch_snapshot_max_attempts` and `command.join.fetch_snapshot_retry_interval`. (#7317)
16
16
- Remove pyopenssl (#7297)
17
17
18
+
### Changed
19
+
20
+
- The `submit_recovery_share.sh` script will no longer try to create a virtual environment and install the CCF Python package on every call. Instead it will return an error if the package is not installed (specifically if the `ccf_cose_sign1` tool it relies on cannot be found) (#7306)
Copy file name to clipboardExpand all lines: python/utils/submit_recovery_share.sh
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -66,12 +66,10 @@ if [ -z "${member_id_cert}" ]; then
66
66
exit 1
67
67
fi
68
68
69
-
if[ !-f"env/bin/activate" ]
70
-
then
71
-
python3 -m venv env
69
+
if!command -v ccf_cose_sign1 > /dev/null;then
70
+
echo"Error: This script requires the ccf_cose_sign1 CLI tool, distributed as part of the CCF Python package. Please install it via 'pip install ccf' in the current Python environment"
71
+
exit 1
72
72
fi
73
-
source env/bin/activate
74
-
pip install -q ccf
75
73
76
74
# Compute member ID, as the SHA-256 fingerprint of the signing certificate
0 commit comments