Skip to content

Use encryption tool to encrypt entire JSON files #54

@pwwolf

Description

@pwwolf

Per @gconsidine , would like a way to encrypt an entire JSON file rather than having to use the encrypt tool to encrypt each value individually.

On thought is to encode values with a special prefix that can be used to determine which fields to encrypt.

In the example below, the tool would just encrypt field2 but leave field1 untouched.

{
"field1": "blah blah blah",
"field2": "{pre}some plain text="
}

Likewise, the decrypt tool should be able to decrypt an entire file and replace the encrypted values with {pre} values.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions