ssh-keygen -t ed25519 -C "your.email@example.co"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
sudo apt-get install xclip
xclip -sel clip < ~/.ssh/id_ed25519.pub
ssh -T git@hf.co
#https://github.com/mxochicale/tools/blob/main/github/SSH.md
gpg --gen-key
gpg --list-secret-keys --keyid-format=long
#/Users/hubot/.gnupg/secring.gpg
#------------------------------------
#sec 4096R/3AA5C34371567BD2 2016-03-10 [expires: 2017-03-10]
#uid Hubot <hubot@example.com>
#ssb 4096R/4BB6D45482678BE3 2016-03-10
gpg --armor --export 3AA5C34371567BD2
# Prints the GPG key ID, in ASCII armor format
git config user.signingkey <Your GPG Key ID>
git config user.email <Your email on hf.co>
git commit -S -m "My first signed commit"
references