chaoss / chaoss/CollectOSS

mask keys by default when checking API key expiry

Open Beginner friendly
#414 2 comments 0 reactions 0 assignees View on GitHub
challenging first issue CLI
Dominant language
Python
Stars
13
Forks
17
Avg merge
6h 59m
Merged PRs (30d)
1

Description

the `collectoss github api-keys` CLI output prints the full api key each time. This isnt great for preventing shoulder surfing.

I think we should make use of the existing `mask_key` helper function that we have to mask the keys unless a --show-keys command line flag is supplied to the command indicating that the full key should be shown.

Contributor guide

Open the contributing guide

Research direction

Start with the `collectoss github api-keys` CLI command and locate the existing `mask_key` helper. Make the command mask keys by default, accept `--show-keys` for full values, and verify both output modes and the existing expiry-check behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, security
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.