dfinity / dfinity/quill

Feature: Error or warning when `--pem-file` is `None`.

Open
#40 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
84
Forks
30
Avg merge
23h 49m
Merged PRs (30d)
1

Description

The error path that I want a warning or explicit error for is I've forgotten to supply the --pem-file option, and the quill subcommand for neuron-manage works, but produces a message that fails on send (bad key).

Instead, I'd like quill to fail early when a nice message when the pem field is missing (None) for any command that uses sign. It avoids a bunch of wasted air-gapped work.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at src/commands/sign.rs, especially the pem field linked in the issue, and trace the commands that use sign. Done means quill reports a clear warning or explicit error before sending whenever --pem-file is missing for those commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.