crev-dev / crev-dev/cargo-crev

`trust find`, like `proof find` but for trust declarations

Open
#352 1 comment 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Rust
Stars
2.3k
Forks
97
PR merge metrics
No merged PRs in 30d

Description

I'm running cargo-crev 0.17, installed via `cargo install`, on Debian Bullseye.

A user I trust on a "medium" level disappeared from `cargo crev id query trusted`. (I initially attributed that to me changing that user's level from "low" to "medium", but I think it was really caused by `cargo crev fetch all` that I ran about the same time.) I had to play with `--depth` to understand that this is caused by someone's negative review, and then had to run `grep -R ' id: ID' ~/.cache.crev` to find out whose review it was.

The issue would've been easier to resolve if Crev had a command that listed all users' trust declarations for a particular ID. I think it should be some called `cargo crev trust find`, but I haven't fully groked how CLI is organized, so perhaps this functionality should be added to `cargo crev proof find` instead.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the existing `cargo crev proof find` command and the CLI organization to determine where trust declarations are handled. Compare the proposed `cargo crev trust find` behavior with the reported need to list all users' declarations for one ID; done means the relevant declarations can be found without manually searching `~/.cache.crev`.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.