Commit Graph

195 Commits

Author SHA1 Message Date
Dominik Schulz dfb8fcb787 Add .gitconfig parser
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 #1567
Fixes #1764
Fixes #1819
Fixes #1878
Fixes #2387

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>
2022-11-12 21:15:52 +01:00
MorningSpace 861d0c21fd Use case: Readyonly Store (#1878) (#1892)
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>
2022-11-09 06:05:44 +01:00
Dominik Schulz cb634f813d Set vim options instead of sniffing the config (#2343)
* 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>
2022-09-20 22:08:23 +02:00
Dominik Schulz 00d04c40c6 Do not omit shadowed entries in ls output (#2341)
* 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>
2022-09-16 19:42:02 +02:00
Dominik Schulz def69d3887 Document gopass extension model (#2329)
* Document gopass extension model

Fixes #2290

RELEASE_NOTES=[ENHANCEMENT] Document extension model.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

* Add more documentation and examples.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

* Further refine hacking.md

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

* More doc comments

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-09-06 21:38:49 +02:00
BoostCookie 4f862dd9e8 Correct (neo)vim settings (#2318)
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>
2022-09-02 18:07:28 +02:00
Yolan Romailler 0dcc25b449 Correcting instructions for apt install (#2298)
* Correcting instructions for apt install

Signed-off-by: Yolan Romailler <anomalroil@users.noreply.github.com>

* Revert "Correcting instructions for apt install"

This reverts commit 69643a5810.

* Correcting instructions for apt install

Fixes #2282

RELEASE_NOTES=n/a

Signed-off-by: Yolan Romailler <anomalroil@users.noreply.github.com>
2022-08-02 22:28:27 +02:00
Piotr Czapla 1978949c9e Add explanation for empty secret warning. (#2285) 2022-07-22 14:44:39 +02:00
Piotr Czapla c50ebb4864 Change the FAQ entries to subheader (#2284)
This let us link to particular section in the FAQ.  Here is an example: https://github.com/nodejs/docker-node#create-a-dockerfile-in-your-nodejs-app-project
2022-07-22 12:51:41 +02:00
Dominik Schulz 832d2cde4d Add autosync once a week (#2191)
RELEASE_NOTES=[ENHANCEMENT] Automatically sync once a week

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-07-18 21:55:05 +02:00
Yolan Romailler 08d73614de OTP is not deprecated (#2277)
RELEASE_NOTES[DOCUMENTATION]=OTP is no longer considered deprecated

Related to #1301

Signed-off-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
2022-07-18 20:04:55 +02:00
Dominik Schulz b3fbbb176c Use packages.gopass.pw (#2261)
RELEASE_NOTES=[ENHANCEMENT] Use packages.gopass.pw for APT packages

Fixes #1760

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-06-24 22:07:43 +02:00
Yolan Romailler fc8c9a2286 Adding doc around parsing and YAML (#2244)
RELEASE_NOTES=[DOCUMENTATION] Adding doc about YAML entries and unsafe-keys

Fixes #1940

Signed-off-by: Yolan Romailler <anomalroil@users.noreply.github.com>
2022-05-31 11:02:31 +02:00
Dominik Schulz 88fbd579c2 Add make msi (#2241)
Fixes #2038

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-05-30 19:38:20 +02:00
FG 1f821207c9 Remove German from xkcd related commands (#2224)
Signed-off-by: dotcs <git@dotcs.me>
2022-05-18 10:37:31 +02:00
FG ed7451678c Determine password length from env variable, if set (#2219)
* 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>
2022-05-16 13:38:19 +02:00
Fabio Alessandro Locati 6b401f2ae5 Add Fedora installation instructions (#2197)
Signed-off-by: Fabio Alessandro Locati <me@fale.io>
2022-04-25 16:18:06 +02:00
Dominik Schulz c47cb8fd72 Automatically export creators key to the store (#2159)
* Automatically export creators key to the store

Fixes #1919

RELEASE_NOTES=[ENHANCEMENT] Automatically export creators key to the
store.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

* Fix config tests

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-03-16 15:37:09 +01:00
Dominik Schulz d27de06d9a Add --chars option to show to allow printing a subset of the secret only (#2155)
* 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>
2022-03-12 18:28:12 +01:00
Dominik Schulz 979c356faa Allow overriding GPG binary path (#2153)
RELEASE_NOTES=[ENHANCEMENT] Allow overriding GPG path

Fixes #2003

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-03-12 17:02:11 +01:00
Dominik Schulz 53a7476332 Mention pinentry-mac Keychain settings (#2136)
RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-02-22 11:07:50 +01:00
r0lh 826533d730 extend setup doc to freebsd and csh/tcsh (#2135) 2022-02-09 13:21:12 +01:00
Dominik Schulz bd978b8add De-duplicate docs
RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-01-15 21:13:36 +01:00
Justin Kromlinger 6758797df0 Add env variables for custom clipboard commands (#2091)
* 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>
2022-01-11 10:02:08 +01:00
Dominik Schulz f44468aeba Make create wizard attribute order deterministic (#2086)
Otherwise the path might be mixed up (e.g. login before hostname).

RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-01-04 07:09:26 +01:00
Dominik Schulz 4adbeeebbf Update README
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-12-31 20:00:44 +01:00
Yolan Romailler 987587753a Document gopass-hibp usage (#2080)
Fixes #2071

RELEASE_NOTES=n/a

Signed-off-by: Yolan Romailler <anomalroil@users.noreply.github.com>
2021-12-29 19:56:27 +01:00
Dominik Schulz 6ea332e7f5 Add gopass process (#2066)
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>
2021-12-28 20:06:08 +01:00
Thomas MANTL b4819661df gh-1939: improve show/revision documentation (#2070)
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>
2021-12-27 20:20:00 +01:00
Dominik Schulz 03aa36b826 Create wizard (#2064)
RELEASE_NOTES=[ENHANCEMENT] Template support for the create wizard

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-12-24 07:16:35 +01:00
Dominik Schulz ffaa9e3729 Document reproducible builds (#1809)
Fixes #1808

RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-12-22 20:10:59 +01:00
Wolf fd7158ec9a illegal base32 data could be lower case (#2053)
so documenting it should be upper case to prevent people wondering why converting zu base32 doesnt help
2021-12-03 11:48:55 +01:00
Thomas MANTL 8b1f0c4da8 gh-2043: document 'gopass cat' (#2051)
RELEASE_NOTES=[DOCUMENTATION] document 'gopass cat'

Signed-off-by: Thomas Mantl <thomas.mantl@redgears.net>
2021-11-26 18:46:44 +01:00
txt-file 72057db800 update gnupg *.deb dependency (#2050)
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>
2021-11-26 18:45:41 +01:00
Dominik Schulz 5f641484ba Add documentation (#2036)
RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-11-13 21:24:32 +01:00
Dominik Schulz e37adb4f34 Add some Apple Silicon setup notes (#2031)
Fixes #2020

RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-11-11 22:09:15 +01:00
Evgeni Golov 3894fb96b2 fix markdown syntax of the "no secret key" entry in the FAQ (#2009) 2021-10-12 18:56:27 +02:00
Solt Budavári a448ddbded Fix typo and add missing commas. (#2008)
Signed-off-by: Solt Budavári <solt.budavari@posteo.de>
2021-10-12 08:04:18 +02:00
Lex Sheehan e3a827de2e Remove references to autosync in doc (#1960)
RELEASE_NOTES=n/a

Co-authored-by: Lex Sheehan <l3x@users.noreply.github.com>
Co-authored-by: Yolan Romailler <anomalroil@users.noreply.github.com>
2021-09-29 16:09:01 +02:00
astark13 c950855a33 Update setup.md (#1999)
RELEASE_NOTES=n/a
2021-09-29 15:41:07 +02:00
astark13 f11303d235 Update setup.md (#1996)
RELEASE_NOTES=n/a
2021-09-28 11:09:58 +02:00
Yolan Romailler a4e2a777b0 Using sane default for partial config (#1968)
RELEASE_NOTES=[BUGFIX] Use same default for partial config files

This is also upgrading the documentation regarding setup as we didn't reflect the move to the .local dir in there yet.

Fixes #1654

Fixes #1967

Signed-off-by: Yolan Romailler <yolan@romailler.ch>
2021-08-08 15:28:26 +02:00
Dominik Schulz 1131dbf5fb Remove GOPASS_NOCOLOR (#1937)
Fixes #1936

RELEASE_NOTES=[CLEANUP] Remove GOPASS_NOCOLOR in favor of NO_COLOR

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-08-05 22:33:31 +02:00
Michael Hiiva 1629395a82 Fixed Single Line Formating for Clone Documentation (#1943)
RELEASE_NOTES=DOCUMENTATION Fixed Single Line Formating for Clone Documentation

Signed-off-by: Michael Hiiva <michaelhiiva@gmail.com>
2021-06-16 08:59:23 +02:00
Dominik Schulz b75f3d4eda Use shorter SSH control path (#1899)
Fixes #1896

RELEASE_NOTES=[BUGFIX] Fix SSH control path

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-04-05 13:22:56 +02:00
Dominik Schulz 2e1f2e442d Avoid logging credentials (#1886)
This commit adds filtering to avoid logging credentials in the debug
logs. If logging of credentials, e.g. for debugging secret parsers,
is required GOPASS_DEBUG_LOG_SECRETS can be set to an non empty
string to enable logging of secrets.

Fixes #1883

RELEASE_NOTES=[BUGFIX] Avoid logging credentials

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-03-27 21:28:09 +01:00
Dominik Schulz ca0c452652 Add gopass ln (#1828)
This commit adds a new subcommand to support symlinks within the same
mount. The command is intentionally still hidden since the support
isn't fully fleshed out, yet. Neither audit nor list know of links
and cross mount symlinks aren't supported either (and maybe never will).

RELEASE_NOTES=[ENHANCEMENT] Add gopass ln

Fixes #1820

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-03-24 21:41:23 +01:00
Dominik Schulz 720e908e16 Clarify unattended setup instructions
Fixes #1875

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-03-24 21:27:11 +01:00
Dominik Schulz 2407a10fc6 Add missing words
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-03-24 21:23:02 +01:00
Dominik Schulz de9f3a38a5 Add getting started docs (#1865)
This commit adds a getting started section to the readme and improves
the gopass clone UX a little it. It also fixes the call depth for nested
debug.Log invocations (e.g. during ExitError) and adds debug logging
for every out invocation.

Fixes #1839

RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-03-24 21:13:44 +01:00