mask keys by default when checking API key expiry

Open Beginner friendly
#414 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

challenging first issue CLI

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.

Dominant language
Python
Stars
14
Forks
18
Avg merge
6h 59m
Merged PRs (30d)
1

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.

More from chaoss/CollectOSS

All issues in chaoss/CollectOSS

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.