475 Commits

Author SHA1 Message Date
Dominik Schulz
c298653239
Tag v1.16.0 (#3289)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-11-13 19:07:22 +01:00
Dominik Schulz
71861e4a8b
chore: Update golangci-lint (#3287)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-11-12 21:09:26 +01:00
Dominik Schulz
f84e676ec1
Improve logging and pretty printing (#3286)
* [chore] Add PID to the debug logs

This helps differentiate between gopass foreground and background (e.g.
agent) processes.

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

* [chore] Adjust logging severities and improve pretty printing

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-11-12 20:37:52 +01:00
Dominik Schulz
8940e95657
[fix] Fix clipboard issues (#3267)
This commit pulls in fixes from gopasspw/clipboard.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-10-05 12:34:47 +02:00
google-labs-jules[bot]
86720090b6
docs: Add GoDoc to pkg and improve markdown files (#3251)
This change adds GoDoc comments to many of the public symbols in the
`pkg/` directory. It also includes various improvements to the
documentation in `README.md` and other markdown files in the `docs/`
directory.

This is a partial documentation effort, as requested by the user, to
get a pull request submitted quickly.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-09-22 19:37:15 +02:00
Dominik Schulz
02ccdf847b
Tag v1.15.18 (#3241)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-09-19 18:49:07 +02:00
Dominik Schulz
cc97921794
Improve release helpers (#3240)
* [chore] Clean up release helpers

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

* [chore] Add GOPASS_NOUPGRADE variable to the release helper

To avoid runing `make upgrade` during a release.

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-09-19 18:31:48 +02:00
Daniel Lublin
8522d7d677
Revert "[fix] use WritePassword for secure write (#3200)" (#3234)
This reverts commit a828cada8f19e946d7db785dd0abfd74caf06a82.

The change of mime-type (away from text/plain) of the clipped text that
this causes is problematic, and is not yet supported everywhere. A
change like this needs to be tested more thoroughly. See:
https://github.com/gopasspw/gopass/issues/3233

Signed-off-by: Daniel Lublin <daniel@lublin.se>
2025-09-19 09:35:53 +02:00
Dominik Schulz
56e4bad6f3
Tag v1.15.17 (#3223)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-09-15 22:41:09 +02:00
google-labs-jules[bot]
baad47c7ef
feat(age): add agent for passphrase caching (#3218)
* This change introduces an agent for the age backend to cache passphrases for age identities.

The agent is a long-running process that listens on a Unix domain socket. Gopass communicates with the agent to request decryption of secrets. The agent caches the passphrases for the identities and performs the decryption, so the passphrases never leave the agent process. This addresses the security concerns with the initial implementation.

The agent can be controlled with the following commands:
- `gopass age agent`: starts the agent in the foreground.
- `gopass age lock`: locks the agent, clearing all cached passphrases.

The age backend will automatically start the agent if it's not already running and the `age.agent-enabled` configuration option is set to `true` (the default).

This change includes:
- The implementation of the age agent in `internal/backend/crypto/age/agent/`.
- Modifications to the age backend to communicate with the agent.
- A new configuration option `age.agent-enabled`.
- Unit tests for the agent.
- Updated documentation for the age backend.

The integration test for this feature (`TestAgeAgent`) is currently failing. The issue is that the test environment is non-interactive, and the code path for initializing a new age store requires a password for the identity keyring, which triggers a `pinentry` call that fails without a TTY. I have tried several approaches to work around this, including setting the `GOPASS_PASSWORD` environment variable and providing a custom pinentry script, but none have been successful so far. The core implementation of the agent is believed to be correct, but the integration test needs further work to run in a non-interactive environment.

* This change introduces an agent for the age backend to cache passphrases for age identities.

The agent is a long-running process that listens on a Unix domain socket. Gopass communicates with the agent to request decryption of secrets. The agent caches the passphrases for the identities and performs the decryption, so the passphrases never leave the agent process. This addresses the security concerns with the initial implementation.

The agent can be controlled with the following commands:
- `gopass age agent`: starts the agent in the foreground.
- `gopass age lock`: locks the agent, clearing all cached passphrases.

The age backend will automatically start the agent if it's not already running and the `age.agent-enabled` configuration option is set to `true` (the default).

This change includes:
- The implementation of the age agent in `internal/backend/crypto/age/agent/`.
- Modifications to the age backend to communicate with the agent.
- A new configuration option `age.agent-enabled`.
- Unit tests for the agent.
- Updated documentation for the age backend.

* This change introduces an agent for the age backend to cache passphrases for age identities.

The agent is a long-running process that listens on a Unix domain socket. Gopass communicates with the agent to request decryption of secrets. The agent caches the passphrases for the identities and performs the decryption, so the passphrases never leave the agent process. This addresses the security concerns with the initial implementation.

The agent can be controlled with the following commands:
- `gopass age agent`: starts the agent in the foreground.
- `gopass age lock`: locks the agent, clearing all cached passphrases.

The age backend will automatically start the agent if it's not already running and the `age.agent-enabled` configuration option is set to `true` (the default).

This change includes:
- The implementation of the age agent in `internal/backend/crypto/age/agent/`.
- Modifications to the age backend to communicate with the agent.
- A new configuration option `age.agent-enabled`.
- Unit tests for the agent.
- Updated documentation for the age backend.

* This change introduces an agent for the age backend to cache passphrases for age identities.

The agent is a long-running process that listens on a Unix domain socket. Gopass communicates with the agent to request decryption of secrets. The agent caches the passphrases for the identities and performs the decryption, so the passphrases never leave the agent process. This addresses the security concerns with the initial implementation.

The agent can be controlled with the following commands:
- `gopass age agent`: starts the agent in the foreground.
- `gopass age lock`: locks the agent, clearing all cached passphrases.

The age backend will automatically start the agent if it's not already running and the `age.agent-enabled` configuration option is set to `true` (the default).

This change includes:
- The implementation of the age agent in `internal/backend/crypto/age/agent/`.
- Modifications to the age backend to communicate with the agent.
- A new configuration option `age.agent-enabled`.
- Unit tests for the agent.
- Updated documentation for the age backend.

* Fix some test failures and add more logging.

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

* Fix lint error

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

* [fix] Fix integration tests

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-09-15 22:03:33 +02:00
Tony Wang
a828cada8f
[fix] use WritePassword for secure write (#3200)
So that for systems that support it, passwords won't be captured by
clipboard managers.

Signed-off-by: Tony Wang <tony@initialcommit.net>
2025-08-27 16:48:21 +02:00
Dominik Schulz
911543f0dd
[chore] Update dependencies (#3197)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-08-14 07:41:38 +02:00
Dominik Schulz
fe35a8c7a7
chore: Update dependencies (#3187)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-08-11 10:00:59 +02:00
Parham Alvani
46dfddaef0
Handle referencing in passwords (#3163)
* feat: handle referencing in passwords

Signed-off-by: Parham Alvani <parham.alvani@gmail.com>

* feat: use seq over slice to improve performance

Signed-off-by: Parham Alvani <parham.alvani@gmail.com>

* feat: handle error during reference following

Signed-off-by: Parham Alvani <parham.alvani@gmail.com>

* feat: provide a flag for not following references

Signed-off-by: Parham Alvani <parham.alvani@gmail.com>

* feat: disable ref following on edit and remove the flag

Signed-off-by: Parham Alvani <parham.alvani@gmail.com>

* feat: provide a configuration for follow-references

Signed-off-by: Parham Alvani <parham.alvani@gmail.com>

* fix: correct configuration tests

Signed-off-by: Parham Alvani <parham.alvani@gmail.com>

* fix: correct tests and document the new flag

Signed-off-by: Parham Alvani <parham.alvani@gmail.com>

* fix: correct integration test

Signed-off-by: Parham Alvani <parham.alvani@gmail.com>

* fix: correct tests

Signed-off-by: Parham Alvani <parham.alvani@gmail.com>

---------

Signed-off-by: Parham Alvani <parham.alvani@gmail.com>
2025-05-28 18:10:54 +02:00
Dominik Schulz
9b30a31dea
Tag v1.15.16 (#3138)
* [fix] Fix this annoying test

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

* Tag v1.15.16

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-04-21 22:16:30 +02:00
Dominik Schulz
8544c94828
[fix] Relase fixes (#3136)
Better logging and pulling in missing updates.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-04-21 21:38:42 +02:00
Dominik Schulz
ab22687ee3
[fix] Update Makefile and fix lint violations (#3134)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-04-21 20:27:19 +02:00
Dominik Schulz
c5f25acdfc
[chore] Move gitconfig to their own repo (#3131)
This commit finalizes the move of the gitconfig pkg to a
separate repo.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-04-19 21:37:38 +02:00
Dominik Schulz
1e05f6a618
[chore] Move set from internal to pkg (#3129)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-04-19 20:29:24 +02:00
Dominik Schulz
4bceec1d0e
[feat] Add conditional includes for gitconfig (#3128)
* add gitconfig extension from include

feature for #2458

RELEASE_NOTES=[FEATURE] Add support for gitconfig include

Signed-off-by: Sergei Suslov <sergey.suslov.nsk@gmail.com>

* [fix] Fix writing merged configs

We must not write the content of the merged config to the base config.

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

* [fix] Fix lint issues and one test

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

* [feat] Add conditional includes for gitconfig

This chnage adds conditional includes for our gitconfig.
So far we only support gitdir: filters, but other conditions
can be added as needed.

Fixes #3126

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

* [fix] Fix one lint issue

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

* [fix] Fix tests

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

* [fix] Ignore one test on windows

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

---------

Signed-off-by: Sergei Suslov <sergey.suslov.nsk@gmail.com>
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Sergei Suslov <sergey.suslov.nsk@gmail.com>
2025-04-19 19:56:37 +02:00
Dominik Schulz
3eb14428a6
[feat] Add unconditional includes for gitconfig (#3127)
* add gitconfig extension from include

feature for #2458

RELEASE_NOTES=[FEATURE] Add support for gitconfig include

Signed-off-by: Sergei Suslov <sergey.suslov.nsk@gmail.com>

* use t.Setenv instead of os.Setenv, comment log

RELEASE_NOTES=n/a

Signed-off-by: Sergei Suslov <sergey.suslov.nsk@gmail.com>

* [fix] Fix writing merged configs

We must not write the content of the merged config to the base config.

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

* [chore] Classify license

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

* [fix] Fix lint issues and one test

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

* [fix] Fix one failing test on Windows as a workaround

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

* [fix] Ignore two tests on windows

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

---------

Signed-off-by: Sergei Suslov <sergey.suslov.nsk@gmail.com>
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Sergei Suslov <sergey.suslov.nsk@gmail.com>
2025-04-19 18:50:11 +02:00
Dominik Schulz
f4ee40ce23
[feat] Replace clipboard library to support wl-copy args (#3123)
* [feat] Replace clipboard library to support wl-copy args

This change should allow us to protect sensitive content
from being captured in some clipboard managers on KDE.

Fixes #2611

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

* [chore] Update clipboard dep

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

* [fix] Update clipboard

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-04-19 14:46:14 +02:00
Dominik Schulz
1b84feeaad
[chore] Update dependencies (#3120)
Pull in some (critical) updates. None of these should affect us,
but dependabot still keeps complaining.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-04-17 09:26:46 +02:00
Dominik Schulz
7281ca8ab4
[chore] Migrate to golangci-lint v2 (#3104)
* [chore] Migrate to golangci-lint v2

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

* [chore] Fix more lint issues

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

* [chore] Fix more lint issue

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

* [chore] Fix more lint issues

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

* [chore] Add more package comments.

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

* [chore] Fix golangci-lint config and the remaining checks

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

* [fix] Use Go 1.24

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

* [fix] Fix container builds

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

* Fix more failing tests

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

* Fix test failure

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

* Fix another len assertion

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

* Move location tests

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

* [fix] Fix most remaining lint issues

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

* [fix] Only run XDG specific tests on linux

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

* [fix] Attempt to address on source of flaky failures

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-04-17 08:05:43 +02:00
Dominik Schulz
7eaa845da7
[fix] Fix test regressions (#3116)
* [fix] Fix test regressions

This change fixes some tests that did start to fail at some point.
I can't tell for sure when they broke (didn't bisect) and if that
breakage is isolated to my system or not. But I need to fix them
anyway.

Fixes #3115

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

* Add missing files.

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

* Fix test failure

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

* Fix one more version test

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-04-16 21:21:00 +02:00
GLoby
c32ec32a52
[TESTING/CLEANUP] Replace deprecated tenv linter for usetesting (#3087)
* [CLEANUP] Comply to linters about blank lines

Signed-off-by: Ilya Eryomenko <ilya@eryomenko.com>

* [TESTING] Replace tenv linter with usetesting as it's deprecated

Signed-off-by: Ilya Eryomenko <ilya@eryomenko.com>

* [TESTING] Replace os.MkdirTemp with t.TempDir for improved test isolation and comply with usetesting linter

Signed-off-by: Ilya Eryomenko <ilya@eryomenko.com>

* [TESTING] Ensure temporary directories are not empty in tests

Signed-off-by: Ilya Eryomenko <ilya@eryomenko.com>

---------

Signed-off-by: Ilya Eryomenko <ilya@eryomenko.com>
2025-03-14 13:22:36 +01:00
Dominik Schulz
21687eea47
[fix] Fix debug.ModuleVersion (#3079)
* [fix] Fix debug.ModuleVersion

Add tests, fix parsing issues and add a specical case for the main
module.

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

* Fix two lint issues

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-03-05 16:54:17 +01:00
Dominik Schulz
9b72a1c76c
Improve test coverage (#3077)
* [chore] Add more tests

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

* [fix] Fix most tests

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

* [fix] Fix remaining tests

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

* [fix] Fix lint issues.

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

* [fix] Fix more lint issues.

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

* [fix] Fix more lint issues.

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

* [fix] Fix the final lint issue.

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-03-04 13:01:01 +01:00
Dominik Schulz
d88b60ad0e
chore: Update deps (#3049)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-02-10 15:28:50 +01:00
Dominik Schulz
c5c64d1df2
Tag v1.15.15 (#3001)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2024-11-24 16:55:19 +01:00
Dominik Schulz
f005df4a94
chore: Update deps and formating (#2999)
* chore: Update deps and formating

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

* chore: gofumpt

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2024-11-24 16:13:07 +01:00
Dominik Schulz
cd6006a5ce
chore: Fix new linter issues (#2998)
* chore: Fix new linter issues

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

* fix: Do not use JSONeq for mixed content

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2024-11-24 14:44:29 +01:00
Dominik Schulz
9f3b2d3213
fix: Use correct URL for shard credentials (#2997)
Both the location and the format of the file have changed.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2024-11-23 22:46:34 +01:00
Eng Zer Jun
7ac2990a9a
[CLEANUP] Replace experimental maps and slices with stdlib (#2993)
The experimental functions are now available in the standard library
in Go 1.23 [1].

[1]: https://go.dev/doc/go1.23#new-unique-package

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2024-11-06 20:23:08 +01:00
AnomalRoil
70c56f9102
[n/a] Correcting mistake in search+replace (#2972)
Signed-off-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
2024-10-15 16:44:30 +02:00
Dominik Schulz
fdf8be4cd3
chore: Update dependencies (#2971)
* chore: Update dependencies

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

* chore: gofumpt

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2024-10-14 22:25:38 +02:00
AnomalRoil
4c2caf3e9b
[FEATURE] Allow for non-interactive age setup (#2970)
* [FEATURE] Allow for non-interactive age setup

Also updates Go to Go 1.23.2 and get rid of min and max functions

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

* [n/a] also renaming clear for Windows

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

* [n/a] bumping our GHA to Go 1.23

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

* [n/a] make our harden runner softer

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

* [n/a] make our harden runner accept go.dev

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

* [n/a] applying code review changes

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

---------

Signed-off-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
2024-10-14 19:32:26 +02:00
lhardt
3c87c1b57a
[ENHANCEMENT] Allow for whitespace-trailing passwords (#2873) (#2954)
* [ENHANCEMENT] Allow for whitespace-trailing passwords (#2873)

Signed-off-by: Leo Hardt <leom.hardt@gmail.com>

* [ENHANCEMENT] Allow for whitespace-trailing passwords pt2

Signed-off-by: Leo Hardt <leom.hardt@gmail.com>

---------

Signed-off-by: Leo Hardt <leom.hardt@gmail.com>
2024-10-07 14:05:38 +02:00
Callum Andrew
9797b872d3
[BUGFIX] Replace ~ with user homedir if $GOPASS_HOMEDIR is not set (#2961)
Replace `~` with user home directory if `$GOPASS_HOMEDIR` is not set, does not replace `~` if neither are set.

Fixes #2916

Signed-off-by: Callum Andrew <contact@candrew.net>
2024-10-07 12:14:13 +02:00
lhardt
486c165438
[DEPRECATION] Remove references to deprecated rand.Seed (#2953)
Signed-off-by: Léo Hardt <leom.hardt@gmail.com>
2024-09-30 19:46:01 +02:00
Ludovic Fernandez
9b6a28f031
[chore] use the same version of golangci-lint (#2948)
* [chore] use the same version of golangci-lint

Signed-off-by: Fernandez Ludovic <ldez@users.noreply.github.com>

* Fixing the new lint issues in 1.61.0

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

* Fixing test issue introduced by lint fix

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

* [chore] show golangci-lint stats

Signed-off-by: Fernandez Ludovic <ldez@users.noreply.github.com>

---------

Signed-off-by: Fernandez Ludovic <ldez@users.noreply.github.com>
Signed-off-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
2024-09-25 15:36:23 +02:00
Dominik Schulz
ed642b6e96
Tag v1.15.14 (#2929)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2024-08-03 16:01:15 +02:00
Dominik Schulz
345075b143
chore: Update dependencies (#2928)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2024-08-03 14:36:35 +02:00
Dominik Schulz
e302ae754c
[bugfix] Fix parsing of key-value pairs according to the gitconfig (#2911)
syntax specification.

The gitconfig format (which is an INI format) does recommend but
not require whitespaces around equal signs that separate keys
and values.

Fixes #2910

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2024-07-28 10:30:03 +02:00
Dominik Schulz
74a5e62d06
chore: Update deps (#2866)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2024-07-07 18:28:09 +02:00
Dominik Schulz
d6669e15e5
chore: Switch to static list of linters (#2882)
* chore: Switch to static list of linters

The old approach was prone to random CI failures when a golangci-lint
was updated and did enable new linters. This approach means we will have
to update the include list from time to time but won't get random CI
failures.

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

* fix: Update enabled linters to be compatible with GHA

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

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2024-06-10 13:54:49 +02:00
Mikel Olasagasti Uranga
68c930c0b1
[chore] Update dependency to github.com/cenkalti/backoff/v4 (#2864)
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2024-04-10 21:11:07 +02:00
needsure
3acb20e5d6
chore: fix function names in comment (#2861)
Signed-off-by: needsure <qinzhipeng@outlook.com>
2024-04-10 09:15:14 +02:00
Mikel Olasagasti Uranga
0fe6b1ba6c
[chore] Update dependency to github.com/godbus/dbus/v5 (#2860)
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2024-04-09 09:35:16 +02:00
Dominik Schulz
948b19546b
Tag v1.15.13 (#2858)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2024-04-06 19:37:22 +02:00