ccf 6.0.9__py3-none-any.whl → 7.0.0.dev1__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.
- {ccf-6.0.9.data → ccf-7.0.0.dev1.data}/scripts/submit_recovery_share.sh +4 -10
- {ccf-6.0.9.dist-info → ccf-7.0.0.dev1.dist-info}/METADATA +1 -1
- {ccf-6.0.9.dist-info → ccf-7.0.0.dev1.dist-info}/RECORD +8 -8
- {ccf-6.0.9.data → ccf-7.0.0.dev1.data}/scripts/keygenerator.sh +0 -0
- {ccf-6.0.9.dist-info → ccf-7.0.0.dev1.dist-info}/WHEEL +0 -0
- {ccf-6.0.9.dist-info → ccf-7.0.0.dev1.dist-info}/entry_points.txt +0 -0
- {ccf-6.0.9.dist-info → ccf-7.0.0.dev1.dist-info}/licenses/LICENSE +0 -0
- {ccf-6.0.9.dist-info → ccf-7.0.0.dev1.dist-info}/top_level.txt +0 -0
|
@@ -25,7 +25,7 @@ fi
|
|
|
25
25
|
node_rpc_address=$1
|
|
26
26
|
shift
|
|
27
27
|
|
|
28
|
-
api_version="
|
|
28
|
+
api_version="2024-07-01"
|
|
29
29
|
while [ "$1" != "" ]; do
|
|
30
30
|
case $1 in
|
|
31
31
|
-h|-\?|--help)
|
|
@@ -76,15 +76,9 @@ pip install -q ccf
|
|
|
76
76
|
# Compute member ID, as the SHA-256 fingerprint of the signing certificate
|
|
77
77
|
member_id=$(openssl x509 -in "$member_id_cert" -noout -fingerprint -sha256 | cut -d "=" -f 2 | sed 's/://g' | awk '{print tolower($0)}')
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
submit_share_path="gov/recovery_share"
|
|
83
|
-
else
|
|
84
|
-
get_share_path="gov/recovery/encrypted-shares/${member_id}?api-version=${api_version}"
|
|
85
|
-
share_field="encryptedShare"
|
|
86
|
-
submit_share_path="gov/recovery/members/${member_id}:recover?api-version=${api_version}"
|
|
87
|
-
fi
|
|
79
|
+
get_share_path="gov/recovery/encrypted-shares/${member_id}?api-version=${api_version}"
|
|
80
|
+
share_field="encryptedShare"
|
|
81
|
+
submit_share_path="gov/recovery/members/${member_id}:recover?api-version=${api_version}"
|
|
88
82
|
|
|
89
83
|
# First, retrieve the encrypted recovery share
|
|
90
84
|
encrypted_share=$(curl -sS --fail -X GET "${node_rpc_address}/${get_share_path}" "${@}" | jq -r ".${share_field}")
|
|
@@ -11,11 +11,11 @@ ccf/receipt.py,sha256=jK8RGkGJwrW1yJC-GWx7DpxQXCCBdnZHIkrMXZgTOew,2079
|
|
|
11
11
|
ccf/split_ledger.py,sha256=wspNZUFPMSvMgGxmwP3QuSbx7QDzTjrC6ecFFJSp14o,5900
|
|
12
12
|
ccf/tx_id.py,sha256=E7XJyUoJ-a8h7Fp36zNQdhSYdyuNdFV-r_aXhoWl1ks,736
|
|
13
13
|
ccf/verify_ledger_secrets_chain.py,sha256=_UDc4wNro2mNUVbErDkhl24jLeJC0Vr-kECeZEdeHME,3590
|
|
14
|
-
ccf-
|
|
15
|
-
ccf-
|
|
16
|
-
ccf-
|
|
17
|
-
ccf-
|
|
18
|
-
ccf-
|
|
19
|
-
ccf-
|
|
20
|
-
ccf-
|
|
21
|
-
ccf-
|
|
14
|
+
ccf-7.0.0.dev1.data/scripts/keygenerator.sh,sha256=r9i8rURcDUPU8c9NKkxrjweU1qU09Hv3SWc3IFQ648A,2391
|
|
15
|
+
ccf-7.0.0.dev1.data/scripts/submit_recovery_share.sh,sha256=jz8ZKmRKfOuRaaMt46xb9gJsH8pQAXSbpYQdRvomJ_s,3151
|
|
16
|
+
ccf-7.0.0.dev1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
17
|
+
ccf-7.0.0.dev1.dist-info/METADATA,sha256=dv775g2p1C_gZxEAVKWSfCMv250WRX8vtm-r3h79Iv8,994
|
|
18
|
+
ccf-7.0.0.dev1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
+
ccf-7.0.0.dev1.dist-info/entry_points.txt,sha256=3hbXI2LSOY06QitxM8GQqT9NwY7rCp1RtSU9gGG20A4,365
|
|
20
|
+
ccf-7.0.0.dev1.dist-info/top_level.txt,sha256=I0tWtkKe6KRqXt0nIp8W-ln8j431-vDBb39bQGKkL9Q,4
|
|
21
|
+
ccf-7.0.0.dev1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|