Open aleeusgr opened 2 months ago
on nixOS these settings may be managed with home-manager
https://nix-community.github.io/home-manager/options.xhtml#opt-programs.git.signing
gpg --full-generate-key
gpg: agent_genkey failed: No pinentry
https://superuser.com/questions/1628782/gpg-signing-failed-no-pinentry
add pinentry:
nixos-rebuild
error: access to absolute path '/home/alex/.ssh/id_ed25519.pub' is forbidden in pure eval mode (use '--impure' to override)
remove the line, switch, reboot.
error repeats.
fixed: https://github.com/aleeusgr/nix-things/commit/bb38bdd85abe4f08026f14fcd25348ea6f4fb65a
here I forgot to -S my commits, fix by running git rebase --signoff HEAD~2
but getting the error
git config --global gpg.ssh.allowedSignersFile
"~/.config/git/allowed_signers"
Still the commits are listed as unverified:
I signed with ssh key:
But I need to sign with GPG:
Maybe the key here is wrong? https://github.com/aleeusgr/nix-things/blob/8700390f3556e547e8b39fbb1d3317c00ea9ba80/home.nix#L79-L93
Should I resign the commits or just wait for approval, then scratch this branch and open another PR?
I need to sign my commits: https://github.com/IntersectMBO/cardano-node/pull/5959
How to do this?
gnupg
git log --format=raw
to see if the commits are signed.