hiero-ledger / hiero-ledger/hiero-cli

Only allow HEX-based keys to be imported? ECDSA

Open
#754 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
43
Forks
38
PR merge metrics
No merged PRs in 30d

Description

### Problem

At the moment, it's a bit confusing which key encryption type you should provide (DER or HEX encoded private keys.

### Solution

The CLI now accepts env vars: `*_KEY` and `*_KEY_HEX`. Let's make this more uniform.

### Alternatives

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the CLI handling for the *_KEY and *_KEY_HEX environment variables and the ECDSA key import path. Confirm how DER and HEX-encoded private keys are currently accepted, then make the key format behavior uniform so the intended HEX-based input is consistently enforced.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, cryptography
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.