Fixes#2451
RELEASE_NOTES=[ENHANCEMENT] Support german language in the password
generator
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
This commit moves much of the content out of the overloaded
README with the goal of making it easier for new users to get
a first impression and start using gopass. Most information
is still retained inside the docs/ folder.
RELEASE_NOTES=n/a
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Maintain secret structure when parsing
This commit introduces a new KV secret type ("AKV") that fully maintains
the secret format when parsing. As such it obsoletes the old KV and
Plain formats and the need for the core.parsing option.
Fixes#2431
RELEASE_NOTES=[ENHANCEMENT] Maintain secret structure when parsing
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Update internal/action/edit.go
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
* Address review comments
This brings back the noparsing flag since we need this to cover some
corners cases.
RELEASE_NOTES=n/a
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.
Fixes#1567Fixes#1764Fixes#1819Fixes#1878Fixes#2387Fixes#2418
RELEASE_NOTES=[BREAKING] New config format based on git config.
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
address comments
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Initial version of use case proposal: Readyonly Store
RELEASE_NOTES=[DOCUMENTATION]
Signed-off-by: morningspace <morningspace@yahoo.com>
Signed-off-by: morningspace <morningspace@yahoo.com>
* Set vim options instead of sniffing the config
Fixes#2317
RELEASE_NOTES=[ENHANCEMENT] Set vim options instead of sniffing
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Add a note on vim hardening flags to the docs.
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Do not omit shadowed entries in ls output
Fixes#2338
RELEASE_NOTES=[BUGFIX] Do not shadow entries behind folders.
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Add shadow marker
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Adjust tests to match the new shadow behaviour
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Update list docs wrt. shadowing
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Do not mark mounts as shadowed. That's already implicit.
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Add more comments and some other cleanup
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
The previous recommended vim settings still allowed data to leak into
the .viminfo file
For Linux even the matching path was wrong which means that the
(insufficient) rules were not even used.
RELEASE_NOTES=[DOCUMENTATION] fix in recommended vim setting
Signed-off-by: Stefan Gehr <stefangehr@protonmail.com>
Signed-off-by: Stefan Gehr <stefangehr@protonmail.com>
RELEASE_NOTES[DOCUMENTATION]=OTP is no longer considered deprecated
Related to #1301
Signed-off-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
* Determine password length from env variable, if set.
With this change, the variable `GOPASS_PW_DEFAULT_LENGTH` can be used to
set a default length for the `generate` cmd.
RELEASE_NOTES=[ENHANCEMENT] Environment variable GOPASS_PW_DEFAULT_LENGTH can be used to overwrite default password length of 24 characters.
Signed-off-by: dotcs <git@dotcs.me>
* Don't ask for password length if env variable is set
Signed-off-by: dotcs <git@dotcs.me>
* Fix PR finding: Don't skip test in short mode
Signed-off-by: dotcs <git@dotcs.me>
* Fix lint issues
Signed-off-by: dotcs <git@dotcs.me>
* Fix lint issue (code complexity) by moving code to separate function
Signed-off-by: dotcs <git@dotcs.me>
* Add --chars option to show to allow printing a subset of the secret only
Fixes#2068
RELEASE_NOTES=Add --chars option to print subset of secrets
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Add some docs.
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Add env variables for custom clipboard commands
Adds `GOPASS_CLIPBOARD_COPY_CMD` and `GOPASS_CLIPBOARD_CLEAR_CMD`
environment variables which are called instead of the normal
implementation if set. The commands receive the name of the password as
their first parameter and the password or its checksum on `STDIN`.
Resolves#2042.
RELEASE_NOTES=[FEATURE] Add env variables for custom clipboard commands.
Signed-off-by: hashworks <mail@hashworks.net>
* Improve two line test ambiguity
The output might contain the previous value "and". Additionally with the
new values it is now clearer what is tested.
RELEASE_NOTES=[TESTING] Improve two line test ambiguity.
Signed-off-by: hashworks <mail@hashworks.net>
* Use a helper to unset env vars in clipboard tests
RELEASE_NOTES=[TESTING] Use a helper to unset env vars in clipboard tests.
Signed-off-by: hashworks <mail@hashworks.net>
This commit adds the process command to process templates into full (configuration) files.
Fixes#1913
RELEASE_NOTES=[ENHANCEMENT] Add gopass process
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
also add cat documentation in man-page
RELEASE_NOTES=[DOCUMENTATION] improve 'gopass show -revision -<N>'
RELEASE_NOTES=[DOCUMENTATION] improve 'gopass cat'
Signed-off-by: Thomas Mantl <thomas.mantl@redgears.net>
In all upstream supported debian & ubuntu releases the package gnupg2 is
a dummy transitional package depending on gnupg. Depend directly on
gnupg instead of the transition.
RELEASE_NOTES=[BUGFIX] depend *.deb on gnupg instead of dummy
transitional package gnupg2
Signed-off-by: Vieno Hakkerinen <vieno@hakkerinen.eu>