208 Commits

Author SHA1 Message Date
Dominik Schulz
4c4f8218fa
Add domain alias documentation and fix lookup logic (#2455)
Fixes #2453

RELEASE_NOTES=[BUGFIX] Fix domain alias lookup

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

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-12-07 19:13:45 +01:00
Dominik Schulz
3276ea4504
Support german language for the xkcd generator (#2454)
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>
2022-12-07 09:08:34 +01:00
Yaroslav
a5e2392fbd
Add DirName template (#2452)
Makes templating example.com/username file structure easier

RELEASE_NOTES=[ENHANCEMENT] Add DirName template

Signed-off-by: Yaroslav Yadryshnikov <me@yay.qa>

Signed-off-by: Yaroslav Yadryshnikov <me@yay.qa>
2022-12-06 14:26:26 +01:00
Dominik Schulz
2bc2e3ceb3
Add more template docs (#2445)
Fixes #1562

RELEASE_NOTES=[ENHANCEMENT] Add template docs

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

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-12-04 21:05:09 +01:00
Dominik Schulz
80c211080e
Unhide fscopy and fsmove (#2444)
Fixes #1831

RELEASE_NOTES=[CLEANUP] Unhide fscopy and fsmove

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

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-12-04 21:04:52 +01:00
Dominik Schulz
ca6abaa9a5
Add generate.symbols and generate.length options to (#2443)
control gopass password generation behavior.

Fixes #2151

RELEASE_NOTES=[ENHANCEMENT] Add generate.symbols and generate.length
options.

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

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-12-04 21:04:40 +01:00
Dominik Schulz
aeaf247b1c
Recommend pass-import for importing existing credentials
Fixes #1007
2022-12-04 14:00:30 +01:00
Dominik Schulz
8321612fc3
Document secret formats (#2439)
Fixes #1585

RELEASE_NOTES=[ENHANCEMENT] Document supported secret formats.

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

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-12-04 12:40:59 +01:00
Dominik Schulz
31630220d6
Introduce config option to disable update checks (#2436)
RELEASE_NOTES=n/a

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

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-12-03 22:28:11 +01:00
Dominik Schulz
af9eec1de4
Readme cleanup (#2434)
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>
2022-12-01 22:54:02 +01:00
Dominik Schulz
1e7a6b160a
Maintain secret structure when parsing (#2433)
* 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>
2022-12-01 22:53:40 +01:00
Dominik Schulz
18ffee354f
Add .gitconfig parser (#2395)
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
Fixes #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>
2022-11-25 10:50:34 +01:00
Dominik Schulz
1bfd727399 Update pwgen documentation
Fixes #2404

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-11-20 10:35:28 +01:00
Enzo Venturi
61af2065c4
docs/config.md: add path for windows (#2413) 2022-11-18 18:35:18 +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 69643a581073dc51c5c8ac6adb44d8c16f2155c7.

* 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