getsops / getsops/sops

Add support for properties files

Open
#158 13 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted priority/low
Dominant language
Go
Stars
23.1k
Forks
1.1k
Avg merge
1d 11h
Merged PRs (30d)
9

Description

Properties files are still used heavily in the Jvm world (which means java, scala, and tons of other languages). It would be nice if there was support for encrypting the values within a properties file. Property files are typically much simpler then yaml or json files. Every entry is a key/value pair separated by an = symbol. There are no dictionaries, lists, or any other type of tree structures within a properties file.

I haven't gone through the code base yet but how difficult do people believe it would be to add support for this filetype (and possibly other similar filetypes with different whitespace and seperate rules?)

A good looking project that supports reading and writing of properties file https://github.com/magiconair/properties using golang.
It has functions for retrieving all of the keys: https://godoc.org/github.com/magiconair/properties#Properties.Keys
Getting the value of a key:
https://godoc.org/github.com/magiconair/properties#Properties.Get
Setting a value of a key only if the key exists
https://godoc.org/github.com/magiconair/properties#Properties.MustSet
Forcing that certain keys must exist (good for making sure soaps related keys exist)
https://godoc.org/github.com/magiconair/properties#Properties.MustGet

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.

Research direction

The issue names no repository files, tests, or entry points. Start by reviewing the existing format-support approach and the referenced Go properties library, then define parsing and encryption behavior for key/value entries. Done means properties files can be supported while their values are encrypted and their key/value structure remains usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, java, scala
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.