1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-02-17 05:35:06 +01:00
home-manager/tests/modules/programs/git
Sizhe Zhao 7da01bc47a
git: support alternate signing methods (#5516)
The Git module now supports SSH and X.509 signing in addition to
OpenPGP/GnuPG, via setting the `programs.git.signing.format` option.
It defaults to `openpgp` for now as a backwards compatibility measure,
but I feel like we shouldn't enforce GPG as the default on everyone,
especially for people who use SSH signing like me.

Accordingly, `programs.git.signing.gpgPath` has been renamed to
`programs.git.signing.signer`, as now the signer binary is not
restricted to GnuPG. Users should only get a warning and everything
should continue to work.

Fixes #4221, supersedes #4235

Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
Co-authored-by: Sumner Evans <me@sumnerevans.com>
Co-authored-by: Leah Amelia Chen <hi@pluie.me>
2025-02-14 11:47:27 -07:00
..
default.nix git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-expected-include.conf git: escape string values in configuration 2020-05-01 00:50:58 +02:00
git-expected.conf git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-pre-commit-hook.sh git: add config helper for hooks 2022-09-08 11:05:07 +02:00
git-with-email-expected.conf git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-with-email.nix git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-with-hooks.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
git-with-msmtp-expected.conf git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-with-msmtp.nix git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-with-signing-key-id-expected.conf git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-with-signing-key-id-legacy-expected.conf git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-with-signing-key-id-legacy.nix git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-with-signing-key-id.nix git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-with-str-extra-config-expected.conf git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-with-str-extra-config.nix git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-without-signing-key-id-expected.conf git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git-without-signing-key-id.nix git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00
git.nix git: support alternate signing methods (#5516) 2025-02-14 11:47:27 -07:00