Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions entries/sops.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"id": "sops",
"displayName": "SOPS",
"description": "A SOPS editor for BB: see a repo's encrypted files, edit them in a table or as text, and save them encrypted again. Needs sops installed.",
"icon": "Lock",
"tags": [
"sops",
"secrets",
"age",
"encryption",
"dotenv",
"env-files",
"credentials",
"mise"
],
"author": {
"name": "Mikhail Turilin",
"github": "mturilin",
"url": "https://github.com/mturilin"
},
"category": "file-viewers-and-editors",
"secondaryCategories": [
"security"
],
"screenshots": [
"./screenshots/sops/env-table.png",
"./screenshots/sops/file-list.png",
"./screenshots/sops/text-editor.png"
],
"overview": "./overview/sops.md",
"source": {
"git": {
"url": "https://github.com/mturilin/bb-plugin-sops.git",
"range": "^0.1.1"
}
}
}
19 changes: 19 additions & 0 deletions overview/sops.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
An editor for [SOPS](https://github.com/getsops/sops)-encrypted files, inside BB.

Open **Encrypted files** in a thread's side panel to see the SOPS files in
that thread's repo. Click one to open it: the plugin decrypts it, you edit it,
and saving encrypts it again with the same keys.

## What it does

- Lists the repo's SOPS files: `.env`, YAML, JSON and INI.
- Shows `.env` files as a table of settings, other files as text.
- Hides values until you choose to show them.
- Shows what changed before saving.
- Re-encrypts only the values you changed, so git diffs stay small.
- Refuses to save if the file changed on disk after you opened it.

## Requirements

sops installed, and a key it can decrypt with: the same setup you use in a
terminal. If the repo pins sops with mise, that version is used.
Binary file added screenshots/sops/env-table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/sops/file-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/sops/text-editor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading