This repository includes the path to become a committer with any kind of git oriented workflow to push commits to any kind of forge. https://labs.masscollabs.xyz/blog/2023/12/22/hacker-how-to/
Find a file
2023-12-22 00:01:32 +03:00
by-sa.markdown hacker how to with CC BY-SA 4.0 or any later 2023-12-22 00:01:32 +03:00
README.md hacker how to with CC BY-SA 4.0 or any later 2023-12-22 00:01:32 +03:00
README.md~ hacker how to with CC BY-SA 4.0 or any later 2023-12-22 00:01:32 +03:00

A Guide for Hackers who wants to become a committer

This repository includes the path to become a committer with any kind of git oriented workflow to push commits to any kind of forge.

Setting SSH Keys

Please read :

Configuring GPG Key

gpg --list-secret-keys --keyid-format=long
  • Then run this command but replace 3AA5C34371567BD2 with your GPG Key ID:
gpg --output secret.key --export-secret-keys 3AA5C34371567BD2
  • Then run this command for Revocation Certificate but replace 3AA5C34371567BD2 with your GPG Key ID:
gpg --output revoke.asc --gen-revoke 3AA5C34371567BD2
  • Then export your public key with this command but replace 3AA5C34371567BD2 with your GPG Key ID :
gpg --armor --export 3AA5C34371567BD2 > 3AA5C34371567BD2.asc

For signing Commits with your GPG Key

Please read this :

Conclusion

  • We have generated SSH Key and added our public SSH Key to our GitHub account.
  • We have generated GPG Key, exported secret key, exported revocation certificate, published our public key to a server in this example PGP Global Directory and then we moved our secret.key and revoke.asc to an external disk. Then we added our GPG key to GitHub account.
  • For signing commit we configured our git account.

happy hacking!...

License

CC BY-SA 4.0 or any later