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
Only RSA and ECDSA keys are currently allowed to be used. This restriction means that we can use the public key in the TLS certificate to switch on the NodeID format:
This issue has become stale because it has been open 60 days with no activity. Adding the lifecycle/frozen label will cause this issue to ignore lifecycle events.
Currently NodeIDs are generated based on
ripemd160(sha256(TLS_CERT_DER))
:avalanchego/ids/node_id.go
Lines 79 to 83 in ccf785c
Only RSA and ECDSA keys are currently allowed to be used. This restriction means that we can use the public key in the TLS certificate to switch on the NodeID format:
avalanchego/staking/parse.go
Lines 124 to 167 in ccf785c
In the Etna upgrade, Ed25519 keys should be supported: https://github.com/avalanche-foundation/ACPs/tree/main/ACPs/20-ed25519-p2p
The
NodeID
representation of theseEd25519
keys should be the 32-byte public key representation.The Ed25519 keys will be used for ACP-77 subnet validators: https://github.com/avalanche-foundation/ACPs/tree/main/ACPs/77-reinventing-subnets#step-2-issue-a-registersubnetvalidatortx-on-the-p-chain
We must retain support for prior P-chain transactions which encode the fixed 20-byte
ids.NodeID
type:avalanchego/vms/platformvm/txs/add_delegator_tx.go
Line 34 in ccf785c
avalanchego/vms/platformvm/txs/add_permissionless_delegator_tx.go
Line 30 in ccf785c
avalanchego/vms/platformvm/txs/add_permissionless_validator_tx.go
Line 39 in ccf785c
avalanchego/vms/platformvm/txs/add_subnet_validator_tx.go
Line 28 in ccf785c
avalanchego/vms/platformvm/txs/add_validator_tx.go
Line 33 in ccf785c
avalanchego/vms/platformvm/txs/remove_subnet_validator_tx.go
Line 25 in ccf785c
The following PRs are related to this issue:
The text was updated successfully, but these errors were encountered: