This commit adds capslock and govulncheck to help us identify
vulnerabilities and possible supply chain attacks through added
capacilities in dependencies. The signal for this repop is low since
we have to rely on a large number of direct filesystem access
and subprocess executions but it seems worth a try.
Fixes#3254
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
We already have a golangci-lint GHA but we still run it in the linux
tests. This often creates inconsistent findings. Let's not do that
and only run the linter once in it's own action. Also rename the
test targets that were created for Travis CI a long time ago.
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
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>
* Migrating to Golangci-Lint
Adding a GHA that is currently not running automatically until it's supporting Go 1.18
Adding the proper config files for Golangci-lint
Removing codequality from CI in Makefile
phasing out some of the codequality linters too since they are in golangci already
RELEASE_NOTES=n/a
Signed-off-by: Yolan Romailler <anomalroil@users.noreply.github.com>
* Finalizing all tests with Go 1.18
RELEASE_NOTES=n/a
Signed-off-by: Yolan Romailler <anomalroil@users.noreply.github.com>
This commit replaces some overly complex constructs with type
parameters.
Fixes#2030
RELEASE_NOTES=[ENHANCEMENT] Generics
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Use BSD install compatible install -d instead of GNU install -D to
create directories.
RELEASE_NOTES=[BUGFIX] Fix make install on BSD
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
This is useful for packaging gopass on some platforms and
a no-op on others.
RELEASE_NOTES=n/a
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Add an `install-man` make target to install the manpage,
and include it in the `install` target.
RELEASE_NOTES=[ENHANCEMENT] Install manpage when using `make install`
Signed-off-by: Silke Hofstra <silke@slxh.eu>
This commit adds a man page generator.
Fixes#1824
RELEASE_NOTES=[ENHANCEMENT] Add gopass.1 man page
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
This commit removes the binaries that were migrated to their dedicated
git repos.
Fixes#1673Fixes#1649Fixes#1652Fixes#1631Fixes#1165Fixes#1711Fixes#1670Fixes#1639
RELEASE_NOTES=[CLEANUP] Remove migrated binaries
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
RELEASE_NOTES=[ENHANCEMENT] Full windows support
Windows tests are no longer allowed to fail now since they all pass.
Notice the exception for jsonapi which is considered a malware for some
reason and is therefore excluded on windows.
We will be able to remove the exception once jsonapi will be moved to
its own repo.
Signed-off-by: Yolan Romailler <yolan@romailler.ch>
This commit adds remote sync support to the ondisk backend. It uses
minio to support a number of cloud storage products as well as self
hosted minio servers.
RELEASE_NOTES=[FEATURE] Add remote sync support for the ondisk backend.
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
This commit adds support for github.com/apple/password-manager-resources
and preliminary support for managing domain aliases.
Fixes#1416Fixes#682
RELEASE_NOTES=[FEATURE] Add Password Rules and Domain Alias support.
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
This commit adds a new debug package to gopass.
It is heavily inspired by github.com/restic/restic/internal/debug
and adapted for the gopass use case.
This change allows to further trim down the source code since the
new package doesn't propagate the debug flag in the context anymore.
As such we can now omit passing ctx in most places.
In order to ensure we don't accidentially keep passing ununsed
parameters we also introduce unparam to check for extra arguments.
RELEASE_NOTES=[ENHANCEMENT] New Debug package
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>