collegevine / collegevine/confcrypt

Config file with duplicated keys passes validation

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Setup:
1. config file with duplicate key/value pairs.
1. latest confcrypt version

Actual behavior:
* `confcrypt aws validate file.econf` outputs no validation erros.
* `confcrypt aws edit ...` removes duplicated keys.

Expected behavior:
* `confcrypt aws validate file.econf` reports duplicated keys.
* `confcrypt aws edit ...` validates file prior to editing.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running `confcrypt aws validate file.econf` and `confcrypt aws edit ...` with a config containing duplicated keys. Trace the validation and edit entry points for how duplicate keys are parsed and handled. Done means validation reports duplicated keys and editing validates the file before removing or changing them.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli
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.