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
Note: this release candidate still includes `.deb` packages targeting Ubuntu 20.04, but 6.0.0 final is intended to contain only rpm files targeting Azure Linux 3.0.
13
+
14
+
### Added
15
+
16
+
- Added `GET /node/attestations` and `GET /node/attestations/self`, as aliases for the `/quote` endpoints.
17
+
- Members can now be configured with an explicit `recovery_role`. Members without an encryption key default to `NonParticipant`, members with an encryption key set default to `Participant` and continue to receive a recovery share. A new recovery role `Owner` allows members to receive a full key, letting them perform a recovery single-handedly. The process and APIs remain identical (#6705).
18
+
- RPMs for Azure Linux 3.0 are now included in releases.
19
+
- Joining nodes can now request a snapshot from their peers at startup, rather than relying on file access. The joinee's snapshot will be fetched and used if it is more recent than the joiner has access to. This behaviour is enabled by default, but can be disabled via the `command.join.fetch_recent_snapshot` config option (#6758).
20
+
-`GET /gov/service/javascript-app` now takes an optional `?case=original` query argument. When passed, the response will contain the raw original `snake_case` field names, for direct comparison, rather than the API-standard `camelCase` projections.
21
+
- Applications can now extend `js_generic` (ie - a JS app where JS endpoints are edited by governance transactions), from the public header `ccf/js/samples/governance_driven_registry.h`. The API for existing JS-programmability apps using `DynamicJSEndpointRegistry` should be unaffected.
22
+
- Expose `ccf:http::parse_accept_header()` and `ccf::http::AcceptHeaderField` (#6706).
23
+
- Added `ccf::cose::AbstractCOSESignaturesConfig` subsystem to expose COSE signature configuration to application handlers (#6707).
24
+
- Package `build_bundle.ts` under `npx ccf-build-bundle` to allow javascript users to build a ccf schema bundle (#6704).
25
+
- Added a `ccf::any_cert_auth_policy` (C++), or `any_cert` (JS/TS), implementing TLS client certificate authentication, but without checking for the presence of the certificate in the governance user or member tables. This enables applications wanting to do so to perform user management in application space, using application tables (#6608).
26
+
- Added OpenAPI support for `std::unordered_set` (#6634).
27
+
- Added ["cose_signatures"](https://microsoft.github.io/CCF/main/operations/configuration.html#command-start-cose-signatures) entry in the configuration, which allows setting "issuer" and "subject" at network start or recovery time (#6637).
28
+
- Updated `ccf::cose::edit::set_unprotected_header()` API, to allow removing the unprotected header altogether (#6607).
29
+
- Updated `ccf.cose.verify_receipt()` to support checking the claim_digest against a reference value (#6607).
30
+
-`ccf.cose.verify_receipt()` to support verifiying [draft COSE receipts](https://datatracker.ietf.org/doc/draft-ietf-cose-merkle-tree-proofs/) (#6603).
31
+
- Introduced `ccf::describe_cose_endorsements_v1(receipt)` for COSE-endorsements chain of previous service identities (#6500).
32
+
- Ignore time when resolving did:x509 against x5chain, resolution establishes a point-in-time endorsement, not ongoing validity (#6575).
33
+
- Provided API for getting COSE signatures and Merkle proofs (#6477).
34
+
- Exposed COSE signature in historical API via `TxReceiptImpl`.
35
+
- Introduced `ccf::describe_merkle_proof_v1(receipt)` for Merkle proof construction in CBOR format.
36
+
- Added COSE signatures over the Merkle root to the KV (#6449).
37
+
- Signing is done with service key (different from raw signatures, which remain unchanged and are still signed by the node key).
38
+
- New signature reside in `public:ccf.internal.cose_signatures`.
39
+
40
+
### Changed
41
+
42
+
- Nodes in Start and Recovery modes no longer enforce specific UVM descriptors, and will instead derive one from UVM endorsements if found. The consortium must check that the value is acceptable, record their agreement by opening the network (#6869).
43
+
- nghttp2 is now picked up from the OS rather than vendored to enable libcurl usage
44
+
- Misc dependency updates (#6725)
45
+
- The `read_ledger.py` tool now has a `--quiet` option which avoids printing anything per-transaction, as well as other performance improvements, which should make it more useful in verifying the integrity of large ledgers.
46
+
- COSE signatures now set a kid that is a hex-encoded SHA-256 of the DER representation of the key used to produce them (#6703).
47
+
- All definitions in CCF's public headers are now under the `ccf::` namespace. Any application code which references any of these types directly (notably `StartupConfig`, `http_status`, `LoggerLevel`), they will now need to be prefixed with the `ccf::` namespace.
48
+
-`cchost` now requires `--config`.
49
+
- JWT authentication now supports raw public keys along with certificates (#6601).
50
+
- Public key information ('n' and 'e', or 'x', 'y' and 'crv' fields) now have a priority if defined in JWK set, 'x5c' remains as a backup option.
51
+
- Has same side-effects as #5809 does please see the changelog entry for that change for more details. In short:
52
+
- stale JWKs may be used for JWT validation on older nodes during the upgrade.
53
+
- old tables are not cleaned up, #6222 is tracking those.
54
+
- A deprecated `GET /gov/jwt_keys/all` has been altered because of #6601, as soon as JWT certificates are no longer stored in CCF. A new "public_key" field has been added, "cert" is now left empty.
55
+
-`ccf::http::get_query_value()` now supports bool types with `"true"` and `"false"` as values.
56
+
- Service certificates and endorsements used for historical receipts now have a pathlen constraint of 1 instead of 0, reflecting the fact that there can be a single intermediate in endorsement chains. Historically the value had been 0, which happened to work because of a quirk in OpenSSL when Issuer and Subject match on an element in the chain.
57
+
- Set VMPL value when creating SNP attestations, and check VMPL value is in guest range when verifiying attestation, since recent [updates allow host-initiated attestations](https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/programmer-references/56860.pdf) (#6583).
58
+
- Added `ccf::cose::edit::set_unprotected_header()` API, to allow easy injection of proofs in signatures, and of receipts in signed statements (#6586).
59
+
- Output of `ccf::describe_merkle_proof_v1(receipt)` has been updated, and is now described by [ccf-tree-alg schema](https://github.com/microsoft/CCF/blob/main/cddl/ccf-tree-alg.cddl).
60
+
- Improved error message when attempting to obtain receipts for a past epoch during a recovery (#6507).
61
+
- Nodes started in `Join` mode will shut down if they receive an unrecoverable condition such as `StartupSeqnoIsOld` or `InvalidQuote` when attempting to join (#6471, #6489).
62
+
- In configuration, `attestation.snp_endorsements_servers` can specify a `max_retries_count`. If the count has been exhausted without success for all configured servers, the node will shut down (#6478).
63
+
- When deciding which nodes are allowed to join, only UVM roots of trust defined in `public:ccf.gov.nodes.snp.uvm_endorsements` are considered (#6489).
11
64
12
65
### Fixed
13
66
14
67
-`ccf.ledger`/`read_ledger.py` previously enforced too strict a condition on node membership when validating ledger files (#6849).
15
68
- Restore low CPU usage on idle nodes, which had increased in dev20 (#6816).
16
-
- Nodes in Start and Recovery modes no longer enforce specific UVM descriptors, and will instead derive one from UVM endorsements if found. The consortium must check that the value is acceptable, record their agreement by opening the network (#6869).
69
+
- CA certificate bundles used for JWT refresh and containing more than one certificate are now handled correctly (#6817).
70
+
- Memory leak during EC key creation is fixed (#6845).
71
+
- Fixed thread-safety issues when CCF nodes attempted to contact non-TLS servers. This previously could cause errors when running SNP builds with multiple worker threads (#6836).
72
+
- SNP nodes will no longer crash when run on firmware returning v3 attestations (#6841).
73
+
- CCF now defaults to using libstdc++ rather than libc++, and no longer builds with LTO, to improve compatibility with other C++ libraries.
74
+
-`cose_signatures` configuration (`issuer`/`subject`) is now correctly preserved across disaster recovery (#6709).
75
+
76
+
### Removed
77
+
78
+
- SGX Platform support.
79
+
- SECP256K1 support as a part of the migration to Azure Linux (#6592).
80
+
- The function `ccf::get_js_plugins()` and associated FFI plugin system for JS is removed. Similar functionality should now be implemented through a `js::Extension` returned from `DynamicJSEndpointRegistry::get_extensions()`.
81
+
- The `key_filter` or `key_policy` arguments to `set_jwt_issuer` have been removed (#6450).
0 commit comments