Skip to content

v1 P-384 identity migration to v2 Ed25519 - lost points #40

@vintagechocolate

Description

@vintagechocolate

I am unable to migrate my v1 node identity to v2. My v1 private key (P-384/secp384r1) is rejected by v2 CLI with a Uint8Array expected error. I have accumulated points under my v1 identity that appear to be trapped.

Identity loaded from provided key
Fatal error: ... (truncated) ...
error: Uint8Array expected
      at gY (/$bunfs/root/aios-cli:.......)
      ...

v1 used P-384 (384-bit/48-byte keys) while v2 README specifies Ed25519 (256-bit/32-byte keys). The crypto libraries expect different key lengths and curves.

@bug, breaking-change, v1-v2-migration, identity

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions