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.
@@ -25,7 +25,7 @@ fi
25
25
  node_rpc_address=$1
26
26
  shift
27
27
 
28
- api_version="classic"
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
- if [ "${api_version}" == "classic" ]; then
80
- get_share_path="gov/encrypted_recovery_share/${member_id}"
81
- share_field="encrypted_share"
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}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ccf
3
- Version: 6.0.9
3
+ Version: 7.0.0.dev1
4
4
  Summary: Set of tools and utilities for the Confidential Consortium Framework (CCF)
5
5
  Author-email: CCF Team <CCF-Sec@microsoft.com>
6
6
  Project-URL: Homepage, https://github.com/microsoft/ccf
@@ -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-6.0.9.data/scripts/keygenerator.sh,sha256=r9i8rURcDUPU8c9NKkxrjweU1qU09Hv3SWc3IFQ648A,2391
15
- ccf-6.0.9.data/scripts/submit_recovery_share.sh,sha256=0NHCF7b_ffisUvBJIiO4Od-FC9kpICGK9Yac32HwKYc,3351
16
- ccf-6.0.9.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
17
- ccf-6.0.9.dist-info/METADATA,sha256=1skW7-YjC2gYfq_dSD4onT-ti_54GN7K4zYvU_bMjjM,989
18
- ccf-6.0.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
- ccf-6.0.9.dist-info/entry_points.txt,sha256=3hbXI2LSOY06QitxM8GQqT9NwY7rCp1RtSU9gGG20A4,365
20
- ccf-6.0.9.dist-info/top_level.txt,sha256=I0tWtkKe6KRqXt0nIp8W-ln8j431-vDBb39bQGKkL9Q,4
21
- ccf-6.0.9.dist-info/RECORD,,
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