Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer GPG(GnuPG) rather than SSH key to sign commits #311

Merged
merged 24 commits into from Sep 12, 2023
Merged

Conversation

kachick
Copy link
Owner

@kachick kachick commented Sep 12, 2023

Resolves #289

home-manager/gpg.nix Outdated Show resolved Hide resolved
@kachick kachick changed the title Prefer GnuPG rather than ssh key for commit sign Prefer GPG(GnuPG) rather than SSH key to sign commits Sep 12, 2023
@kachick
Copy link
Owner Author

kachick commented Sep 12, 2023

screen_shot 2023-09-12 20 42 02

Removing the GPG key from github made unverified like ssh era 🤔

@kachick
Copy link
Owner Author

kachick commented Sep 12, 2023

https://qiita.com/kanatatsu64/items/85104644d1599c244f35 ah, needed to replace key with revoked one in github

@kachick
Copy link
Owner Author

kachick commented Sep 12, 2023

@kachick
Copy link
Owner Author

kachick commented Sep 12, 2023

  1. Revoke subkey in local
  2. Delete exists pubkey from GitHub
  3. Upload new pubkey in GitHub with ouput of gpg --armor --export EF6E574D040AE2A5
  4. GitHub keeps Verified but shows Revoked in detail
  5. 🎉 Actually I want.
スクリーンショット 2023-09-12 231239 スクリーンショット 2023-09-12 231225

@kachick kachick marked this pull request as ready for review September 12, 2023 15:46
@kachick kachick merged commit fec9d02 into main Sep 12, 2023
8 checks passed
@kachick kachick deleted the gpg-commit-sign branch September 12, 2023 15:47
kachick added a commit to kachick/kachick.github.io that referenced this pull request Sep 12, 2023
kachick added a commit that referenced this pull request Feb 14, 2024
@kachick
Copy link
Owner Author

kachick commented Mar 11, 2024

extrawurst/gitui#97
jesseduffield/lazygit#30

I should prefer sign, but modern gui cannot be used by this 📝

@kachick
Copy link
Owner Author

kachick commented Mar 11, 2024

extrawurst/gitui#1544 ❤️

@kachick kachick mentioned this pull request Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to keep verified status from commits even I removed the ssh key?
1 participant