forked from gopasspw/gopass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We only have one revision control provider now, so conversion is really just changing the encryption. This is relatively easy to implement as a shell script, similar to the sample `passage` migration script shown in <https://github.com/FiloSottile/passage/blob/main/README>. The `convert` command would probably be better implemented as a separate utility using `gopass` as a library (similar to `gopass-hibp`).
- Loading branch information
Showing
7 changed files
with
1 addition
and
326 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +0,0 @@ | ||
# `convert` command | ||
|
||
The `convert` command exists to migrate stores between different backend | ||
implementations. | ||
|
||
Note: This command exists to enable a possible migration path. If we agree | ||
on a single set of backend implementations the multiple backend support | ||
might go away and this command as well. | ||
|
||
## Synopsis | ||
|
||
``` | ||
$ gopass convert --store=foo --move=true --storage=gitfs --crypto=age | ||
$ gopass convert --store=bar --move=false --storage=fs --crypto=plain | ||
``` | ||
|
||
## Flags | ||
|
||
Flag | Description | ||
---- | ----------- | ||
`--store` | Substore to convert. | ||
`--move` | Remove backup after converting? (default: `false`) | ||
`--storage` | Target storage backend. | ||
`--crypto` | Target crypto backend. | ||
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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