-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from uw-labs/as-recursive-decrypt
implemented recursive decryption via cli
- Loading branch information
Showing
10 changed files
with
320 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,6 +69,23 @@ go install github.com/uw-labs/[email protected] | |
directory structure until it finds the file. This allows using different | ||
keys for different subdirectories within a repository. | ||
|
||
5. If strongbox keyring file is stored on different location `-keyring` can be used. | ||
ie `strongbox [-keyring <keyring_file_path>] -gen-key key-name` | ||
|
||
6. Following commands can be used to manually decrypt file without gitOps | ||
``` | ||
# decrypt using default keyring file `$HOME/.strongbox_keyring` | ||
strongbox -decrypt -recursive <path> | ||
# decrypt using `keyring_file_path` | ||
strongbox -keyring <keyring_file_path> -decrypt -recursive <path> | ||
# decrypt using private key `<key>` | ||
strongbox -key <key> -decrypt -recursive <path> | ||
# decrypt single file with given key | ||
strongbox -decrypt -key <key> | ||
``` | ||
## Existing project | ||
|
||
Strongbox uses [clean and smudge | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.15-alpine | ||
FROM golang:1.19-alpine | ||
|
||
RUN apk --no-cache add git | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.