Ed25519 keys for Hyperledger Fabric MSP identities

Fabric v3.0 lets MSP identities sign and verify transactions with Ed25519 as well as ECDSA, but only after the channel's V3_0 capability is enabled. This page explains the trade-offs and planning steps.

On this page

Ed25519 keys for Hyperledger Fabric MSP identities: when a network team needs them

If you are planning a Fabric v3 network or an upgrade and wondering whether your MSP identities should use Ed25519, the short answer is this: Fabric v3.0 supports Ed25519 alongside ECDSA for MSP functions, including transaction signing and verification, but a channel must have the V3_0 channel capability enabled before any certificate with an Ed25519 key can be used. Enabling the capability is a channel decision, so the choice belongs in your upgrade plan, not in your enrollment templates alone.

The feature covers the signing and verification functions that MSPs perform for Fabric identities. It does not change how existing ECDSA identities work, and it does not turn off ECDSA. The design question is therefore not whether Ed25519 is better, but whether every component that touches your identities can handle the new algorithm: peers and orderers on the 3.x line, client applications and any signing tools, and the certificate authorities that will issue the certificates. Confirm each of these against the Fabric what's new documentation for the release you deploy, because a mixed population of identities is harder to audit and roll back than a single algorithm.

The 3.x line and the 2.5 long-term support line both receive patch releases in parallel. At the time of writing, the Fabric GitHub releases page lists v3.1.5 and v2.5.16, both published on June 18, 2026. If your production network must stay on 2.5 for now, Ed25519 is not available to you on that line, so the decision reduces to a timing question for your upgrade. Check the current patch levels on the releases page before you set a target version, since patch numbers move.

Plan the issuance side before the channel change. Decide which identity classes (peers, orderers, admins, clients) will get Ed25519 keys, confirm that your Fabric CA version and enrollment profiles can request them, and record who approves the V3_0 capability change on each channel. Test the full path on a non-production network: enroll, sign a transaction, validate it on a peer, and confirm that identities still on ECDSA continue to work during the transition.

Which key type fits each network situation

A network built on Fabric v3 starts with no legacy channels to migrate, so the key type decision can be made before the first identity is issued. Fabric v3.0 supports Ed25519 alongside ECDSA for MSP functions, including transaction signing and verification, but Ed25519 keys only take effect once the channel capability V3_0 is enabled. Plan the certificate issuance pipeline with that in mind, because identities issued before the decision are harder to change later.

  • Decide the key type per identity class: Choose whether peer, orderer, admin and client identities all use Ed25519, or whether some keep ECDSA while others move.
  • Plan the channel capability level: Confirm the V3_0 capability is in the channel configuration from channel creation, so every organization signs and verifies under the same rules.
  • Set up Fabric CA issuance for Ed25519: Confirm with your Fabric CA version and tooling that enrollment certificates carry Ed25519 keys before you register identities at scale.
  • Test with a non-production channel: Run signing and verification end to end, including client applications built on the Fabric Gateway client API.
  • Document the decision in governance: Record the chosen key type in the consortium's policy documents so new members issue matching identities.

Before go-live, confirm the key algorithms your Fabric CA and HSM tooling support, and check the current Fabric release notes for any restrictions.

Configuration options for MSP key algorithms and when each fits

This table compares three ways to set up MSP signing keys: ECDSA only, Ed25519 for MSP signing after the V3_0 capability is enabled, and a mixed posture where member organizations issue different key types. Read each row against your channel capability level, your client SDKs and your HSM plans. The main takeaway is that Ed25519 is a channel-level decision that depends on every participating component, so confirm support before changing anything.

OptionWhat it requiresWhen it fitsTrade-offs
ECDSA only (current default posture)No channel capability change. Existing ECDSA certificates from Fabric CA or your enterprise CA continue to work on v2.5 and v3.x channels.Networks on v2.5 LTS, or networks where clients, HSMs or audit tooling have not yet been tested with Ed25519.Lowest change risk and the widest existing tooling support. You do not gain Ed25519 signing, and any later move still needs a planned channel capability change.
Ed25519 for MSP signing after V3_0Fabric v3.0 or later on all peers and orderers, the V3_0 channel capability enabled, and certificates issued with Ed25519 keys. Confirm the exact upgrade sequence in the Fabric upgrade docs.Consortiums on the 3.x line that want Ed25519 for transaction signing and verification and have confirmed that every member's tooling handles it.Channel capability changes affect all members on the channel. Confirm which client SDKs, HSM modules and certificate tooling your members run can issue and use Ed25519 keys before enabling it.
Mixed posture (members issue different key types)Every organization's MSP and CA must still produce identities the channel accepts once V3_0 is on. Confirm with each member how its CA issues keys and how its signing clients behave.Consortiums where one or more members cannot yet move to Ed25519 but still need to join a 3.x channel, or where key migration happens member by member.Adds policy and testing complexity, since each organization's key type must be inventoried and verified. Ask each member to document its key type and retest after any change.
Ed25519 with HSM-protected MSP keysPKCS#11 support for Ed25519 in the HSM and a custom peer or orderer image built with PKCS#11, because prebuilt Docker images are not built with PKCS#11. TLS keys stay file-based.Organizations whose policy requires MSP private keys in an HSM and that have confirmed Ed25519 support in their module.Each HSM vendor and module version must be confirmed for Ed25519. Custom image builds and their patching become an ongoing responsibility of the operator.

How to plan Ed25519 MSP identities on a Fabric v3 channel

This sequence moves a Fabric network to the v3.x line, prepares every channel, issues identities with the chosen key type, and proves that signing and validation work before production use.

  1. Confirm binaries and back up before upgrading

    The network operator starts by confirming which orderer and peer binaries are running and planning the work with the four-step upgrade guide in the Fabric docs. Before any binary changes, back up the ledger on every peer and orderer, and back up the MSP directories and CA material for every organization. Store the backups where a restore can be tested. The step is done when each node has a recent, verified backup and the team has written down the current binary versions so a rollback target is known.

  2. Roll orderers to v3.x binaries

    Upgrade the orderer binaries one node at a time, so the ordering cluster keeps a quorum while each node restarts. For a Raft cluster, confirm that the remaining nodes still form a majority before you restart each one. After each node restarts, check its health endpoint and log output and confirm it has rejoined its channels. The step is done when every orderer reports the v3.x version through the operations service and every channel still accepts transactions.

  3. Roll peers to v3.x binaries

    Upgrade peers in a rolling fashion so endorsement stays available across each organization. Keep at least one endorsing peer per organization running while the others restart, and confirm that the Fabric Gateway client applications can still reach an endorsing peer. Check each peer's version and health endpoint after restart. The step is done when all peers run v3.x binaries and client applications complete a test invoke and query without errors.

  4. Confirm every channel uses the v2.x lifecycle

    Fabric v3.0 removed the v1.x legacy chaincode lifecycle, so the channel administrator must confirm that every channel has chaincode definitions committed under the v2.x lifecycle before channel capabilities change. Review each channel's chaincode definitions and list any channel that still depends on legacy installs. Migrate those channels before continuing. The step is done when the team holds a signed list showing every channel and its chaincode definitions under the v2.x lifecycle.

  5. Decide the key type for each organization

    Each member organization decides whether its MSP identities will use ECDSA, Ed25519, or a mix, and records the decision with its security and compliance owners. Ask the chaincode and client teams which signing libraries and hardware they use, because some HSM and client tooling may only support one algorithm. Keep ECDSA where existing tooling, HSM setup or external verifiers depend on it, and confirm that the chosen algorithm is supported in your environment with the vendor or your own test. The step is done when each organization has a written key type decision and a named owner.

  6. Set up Fabric CA issuance for the chosen algorithm

    The CA administrator configures Fabric CA so that enrollment certificates for each organization carry the agreed key type. Register the identities, review the enrollment profiles, and confirm that the CA database and TLS settings match the production design. Enroll a test identity for each role and inspect the resulting certificate to confirm its key algorithm and chain. The step is done when a test enrollment produces a certificate with the intended key type that chains to the organization's CA.

  7. Enable the V3_0 channel capability

    Once every node runs v3.x and each organization's identities are issued, the channel administrator updates each application channel to enable the V3_0 capability. This is a channel configuration update that needs the required organization approvals under the channel policies. Confirm that all organizations have signed the update and that the channel config block reflects V3_0. The step is done when the channel configuration shows the capability enabled and every peer reports it has committed the new configuration block.

  8. Verify signing and validation with a test transaction

    Run a test transaction from a client identity that uses the new key type, and confirm that endorsing peers sign and validate it correctly. Check that the transaction commits, that the block validation result is valid, and that peers from each organization accept the signatures. Repeat the check with an identity that still uses ECDSA if your design keeps both algorithms in use. Record the results and keep them as evidence for the change. The step is done when the test transaction commits on every relevant peer and the results are saved with the change record.

How the parts fit: CA issuance, MSP keys and channel capability

The diagram starts with Fabric CA issuing enrollment certificates into each organization's MSP. Peers and clients then sign and verify transactions with those keys. The channel capability update to V3_0 is the gate: until it is enabled on the application channel, Ed25519 certificates cannot be used, so ECDSA identities stay in the flow during the transition. Check the capability step last, after binaries are upgraded.

Enrollment, signing and the V3_0 gate on an application channel.

Where ECDSA still applies alongside Ed25519

Enabling Ed25519 for MSP signing does not mean every key in a Fabric network changes at once. Some identities already hold ECDSA certificates, some channels include members that have not moved, and some keys sit in hardware or on TLS connections that follow different rules. Confirm each component's key type support before you plan issuance.

Existing enrollment certificates

Certificates already issued by Fabric CA for peers, orderers, admins and clients were generated with ECDSA keys and remain valid after you enable Ed25519 for signing. Re-enrollment is a separate project, so plan it per identity class and keep a record of which certificates use which algorithm. Check how your CA templates and enrollment profiles choose the key type before you change them, and confirm that renewal keeps the algorithm you expect.

Fabric CA user guide

Mixed-membership channels

A channel can include organizations that have not yet adopted the V3_0 capability or whose identities still use ECDSA. Before you enable the capability, confirm that every member's peers, orderers and client applications handle the key types on the channel. Treat the membership list as a dependency map, and assign an owner to each organization that must move before the channel can rely on Ed25519 signatures.

HSM-backed keys

Peer and orderer MSP keys can sit in an HSM through PKCS#11, and the HSM vendor determines which algorithms it can generate and sign with. Ask the vendor whether the device supports Ed25519 before you assume it does. Custom Docker images are also required for PKCS#11, so test the signing path in a staging environment with the exact image and HSM firmware you plan to run.

Fabric HSM docs

Client applications

Client applications that build or check signatures outside the peer, such as custom SDK code, signing services or audit tools, may only handle ECDSA. Inventory each application that signs, verifies or parses certificates, and confirm its library's Ed25519 support. The Fabric Gateway client API is compatible with both v2.5 and v3.0, but that compatibility does not confirm every third-party library in your stack.

TLS keys

TLS keys for peers, orderers and the operations service follow their own certificate profile and must remain file-based when HSMs are in use. Do not assume that enabling Ed25519 for MSP signing changes the TLS handshake or the certificates that load balancers and monitoring tools present. Confirm the TLS key type your load balancers, service mesh and clients accept, and test certificate rotation separately.

Planning certificate issuance for Ed25519 identities

Before you issue Ed25519 certificates to members, confirm that your Fabric CA can do the job you need from it. The CA registers identities (or connects to LDAP as the user registry), issues enrollment certificates, handles renewal and revocation, and generates certificate revocation lists (CRLs). Those four jobs are the same whichever key algorithm an identity uses, so the planning question is not whether the CA can issue, but whether its lifecycle controls and storage can carry Ed25519 identities through their whole life. Map each identity class (peer, orderer, admin, client) to the enrollment profile, registration attributes and renewal schedule it will follow, and record who may approve a change to any of them.

Start with the CA backend and topology. SQLite is the default database, but a production CA that several servers must share needs PostgreSQL or MySQL, and several CA servers can share one database behind a load balancer such as HAProxy for high availability. Plan the database backup, the CA key and certificate material, and the failover test together, since a restored CA must still recognize its issued certificates and revocations. Confirm with your CA version's documentation how it handles Ed25519 enrollment and renewal before you rely on it, because the researched facts supplied for this topic do not cover CA-level Ed25519 behavior.

Decide where the signing keys live. Fabric uses the PKCS#11 standard to keep peer and orderer MSP keys in a hardware security module (HSM), but TLS keys must remain file-based. The prebuilt Docker images are not built with PKCS#11, so an HSM-backed deployment needs custom images, and you should confirm that your HSM vendor supports Ed25519 signing through PKCS#11 before you choose it. Test enrollment, renewal and revocation end to end on a staging network that uses the same image and HSM, and keep a documented procedure for re-issuing identities if the HSM or CA is lost.

Security and operational considerations for mixed key types

Moving MSP identities to Ed25519 changes more than the signing algorithm. Key custody, HSM placement, certificate revocation, monitoring, backups and the one-way nature of the V3_0 capability all shape how safely a mixed ECDSA and Ed25519 network runs. The cards below cover the decisions to make before and during rollout.

Signing key custody

Decide where each organization's Ed25519 and ECDSA signing keys live before any identity is issued. Peer and orderer MSP keys are the ones most likely to sit in an HSM, while client and admin keys often stay file-based under tighter operator controls. Ask who can generate, copy and rotate each key type, and confirm that the custody model is the same for Ed25519 identities as for the ECDSA identities they replace. Record the decision per identity class so audits can trace it.

Fabric HSM docs

HSM and file-based TLS constraints

Fabric uses PKCS#11 to keep peer and orderer MSP keys in an HSM, but TLS keys must remain file-based. Plan separate storage paths for the two key roles so that an HSM-backed signing key does not drag the TLS key into the same custody process. The prebuilt Docker images are not built with PKCS#11, so confirm early that your custom images include the module needed for any Ed25519 signing key placed in hardware. Test key generation and signing on the exact HSM model and firmware you will run.

Revocation and CRL handling

Fabric CA handles renewal and revocation and generates certificate revocation lists. During a rollout that mixes key types, confirm that revocation of an old ECDSA identity and issuance of its Ed25519 replacement are sequenced so that no member is left without a valid signing identity. Check that every peer and orderer picks up the updated CRL in your environment, and test revocation of an Ed25519 certificate on a non-production channel before relying on it.

Monitoring through the operations service

The operations service on peers and orderers exposes /healthz, /logspec, /version and a Prometheus /metrics endpoint or StatsD push, secured with mutual TLS client certificates. Add checks that confirm each node reports the expected version and that the monitoring client certificate is valid and not close to expiry. A monitoring identity that fails on certificate expiry can hide a failing node, so include it in the certificate renewal calendar.

Backups before capability changes

The Fabric upgrade guide places a backup of the ledger and MSPs as the first step, ahead of binary upgrades and capability updates. Before enabling V3_0 on a channel, take and verify backups of the ledger, the MSP directories and the CA databases that issued the current identities. Store copies outside the hosts that will be changed, and rehearse restoring one peer from them in a test environment so the recovery path is known before it is needed.

Rollback limits after V3_0

Treat enabling the V3_0 channel capability as a change that may not be reversible in practice. Once Ed25519 identities are in use, nodes and clients that do not understand them can no longer validate those signatures, so returning to earlier binaries is not a simple restart. Confirm with the Fabric documentation and your own test results what a rollback would require on your version, and write down the decision point after which the team commits to moving forward.

Questions buyers ask about Ed25519 MSP identities in Fabric

Is Ed25519 required in Hyperledger Fabric v3?

No. Fabric v3.0 adds Ed25519 alongside ECDSA for MSP functions, including transaction signing and verification, so ECDSA remains available. Ed25519 is an option you enable for certificates that use Ed25519 keys, and it only takes effect on a channel once that channel's capability is set. Your existing ECDSA identities, and any client or tooling that expects them, can stay in place until you decide otherwise. Confirm with your CA and application teams which key types each of your identity sources can issue before you plan a switch.

What does enabling the V3_0 channel capability change?

Enabling V3_0 on a channel allows certificates with Ed25519 keys to be used for that channel's MSP functions. It is a channel-level change, so every channel that needs Ed25519 identities must be updated separately. It should be done after the orderer and peer binaries are upgraded, because the upgrade guide places channel capability updates as the final step, following the rolling orderer and peer binary upgrades. Plan the change as a configuration update with a clear rollback position, and confirm the exact procedure against the What's new and upgrade documentation for your target release.

How much work does a v2.5 to v3 migration involve, and what drives it?

The work depends on how much of your network is still on older mechanisms. Fabric v3.0 removed Solo and Kafka consensus and the v1.x legacy chaincode lifecycle, so networks must move Kafka ordering to Raft and bring all channels onto the v2.x lifecycle before upgrading. The main drivers are the number of channels, the number of orderers and peers, how many organizations must approve each change, the state of your CA and HSM setup, and how much of your application estate depends on the network. The upgrade guide describes four steps: back up the ledger and MSPs, upgrade orderers in a rolling fashion, upgrade peers in a rolling fashion, then update channel capabilities. Ask any partner for a written scope that lists each channel and component before agreeing a timeline.

What must our team provide before an Ed25519 or v3 migration starts?

Most delays come from access and approvals rather than from the Fabric work itself. Expect to provide:

  • Access to the Fabric CA servers, their databases and the enrollment and registration process used for each organization
  • HSM details if peer or orderer MSP keys are protected by PKCS#11, including the custom image build plan, because the prebuilt Docker images are not built with PKCS#11
  • Change windows approved by every consortium member, since channel configuration updates need agreement across organizations
  • Test channels and a non-production copy of the network where upgrades and capability changes can be rehearsed
  • Named owners for each organization's approvals and a rollback position agreed in advance

Confirm each item against your own environment before work starts.

Can our internal team handle the Ed25519 and v3 migration alone?

An internal team can do it if it already runs Fabric in production and has people who understand channel configuration, MSP and Fabric CA administration, and the orderer and peer upgrade procedure. The risk is usually capacity and coordination: a migration touches every member organization, requires a backup and rollback plan, and needs repeated rehearsal on test channels. Teams without recent Fabric upgrade experience often gain the most from a partner for planning, rehearsal and a documented runbook, while keeping ownership of keys and approvals in-house. Decide which tasks your staff will carry out and which they will hand over, and write that split into the scope.

How is the cost of this work shaped, and what should a quote include?

DeployOpen does not publish a price list. A quote follows from a written, fixed scope that DeployOpen agrees with you before work starts. The cost drivers are the same ones described above: the number of channels, orderers, peers and member organizations, the state of your CA and HSM configuration, whether Kafka ordering or legacy lifecycle work must be migrated first, the number of test rounds, and the change windows you need. Costs are mostly one-time for the migration itself, with ongoing costs for support, upgrades and testing if you choose a retainer. Ask any provider for a quote that lists the in-scope components, the test and rollback steps, the deliverables, the assumptions about your environment and the work your team must carry out.

Where do ECDSA keys still apply after moving to Ed25519?

ECDSA remains part of Fabric v3.0 for MSP functions, so the Ed25519 option does not replace it on its own. Your design should record which identities use which algorithm, which channels have V3_0 enabled, and which client libraries, HSM configurations and CA profiles support each type. Some PKCS#11 and HSM setups may have their own key type limits, so confirm supported algorithms with your HSM vendor and the Fabric HSM documentation. Keep a single inventory of identity types so audits and future renewals do not depend on memory.

How DeployOpen scopes and delivers Fabric identity planning

DeployOpen plans, implements and hardens self-hosted Hyperledger Fabric networks inside the client's own infrastructure, and most of this work runs as a fixed-scope engagement with scope, deliverables and timelines agreed in writing before any change is made. A quote follows from that written scope, so the first conversation is about which channels, peers, orderers and Fabric CAs are in play, not about a price list. For Ed25519 MSP identities, the scope usually has to name which organizations will issue Ed25519 certificates, which channels will enable the V3_0 capability, and which clients and chaincode paths must keep working with ECDSA during the transition.

A typical engagement starts with discovery. DeployOpen inventories the binaries running on each orderer and peer, the Fabric CA versions and their databases, the channel capability levels, and the MSP directories each organization uses. From there the team designs the CA and key layout: which Fabric CA instances will issue Ed25519 enrollment certificates, how signing keys are generated and stored, and whether any peer or orderer keys must sit in an HSM. The design is then rolled out in stages, with ledger and MSP backups taken before each change, a test channel used to verify signing and verification end to end, and a written record of every capability change. Handover includes runbooks and verification evidence the client's own teams can review.

Ongoing work is often offered as a retainer covering upgrades, certificate renewals, client library updates and periodic retesting after Fabric patch releases. Clients should ask for a written list of what the retainer includes, how emergency changes are handled, and who owns the CA and key material after handover. Confirm with your own security and compliance teams which evidence they need, since DeployOpen prepares systems, controls and documentation for assessment but does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.