Files
Dominik Schulz ad07e1f403 Remove the ondisk backend (#1720)
This backend has never been fully completed and shouldn't be used
as-is.

RELEASE_NOTES=[CLEANUP] Remove the ondisk backend

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-01-18 15:44:34 +01:00

27 lines
976 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# `init` command
The `init` command is used to initialize a new password store.
If no recipients are specified a useable existing private key is used.
The `init` command must be used to initilize new mounts. `gopass mounts add` only supports adding existing mounts.
Note: We do not support adding recipients using `init`. Please use `gopass recipients add` for that!
## Synopsis
```
$ gopass init
$ gopass init --crypto [age|gpg] --storage=[fs|gitfs]
```
## Flags
Flag | Aliases | Description
---- | ------- | -----------
`--path` | `-p` | Initialize the (sub) store in this location.
`--store` | `-s` | Mount the newly initialized sub-store at this mount point
`--crypto` | | Select the crypto backend. Choose one of: `gpgcli`, `age`, `xc` (deprecated) or `plain`. Default: `gpgcli`
`--storage` | | Select the storage and RCS backend. Choose one of: `gitfs`, `fs`. Default: `gitfs`
See [backends.md](../backends.md) for more information on the available backends.