Skip to content

Add dew key backup and dew key import for identity disaster recovery #140

Description

@vedanta

Add first-class identity backup and recovery workflows.

Proposed:

dew key backup <path>
dew key import <path>
dew key export --public

Goals:

  • Prevent accidental identity loss.
  • Provide an officially supported backup path.
  • Reduce manual file copying.

Acceptance criteria:

  • Explicit warnings before writing private key material.
  • Backup file permissions are restricted.
  • Import validates the key before installation.
  • Existing identity replacement requires confirmation or force flag.
  • Tests cover backup, import, invalid key, and overwrite scenarios.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestidentityage identity / keys

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions