cardano-community / cardano-community/cncli

cncli sign does not emit anymore the proof but only its hash

Closed
#73 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
56
Forks
16
Avg merge
14m
Merged PRs (30d)
2

Description

**Describe the bug**
I am not really sure if this is a bug or my misinterpretation, but I noticed a changes in the `cncli sign` command about that is put in output, and apparently it does not print anymore the proof but its hash.

previously it was putting the 80 bytes of the proof encoded as hex, not it prints 64 bytes of the hash,
I do not understand how that signature hash could be for example being used by `cncli verify`.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `cncli sign` and `cncli verify` commands and compare the current output with the reported 80-byte proof versus 64-byte hash. Trace the sign and verify entry points to determine the expected exchanged value; done when signing produces output that verification can use correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, cryptography
Issue type
Bug
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.