-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
- Add details on how to update and maintain models in huggingface
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
- Signing commits with GPG https://huggingface.co/docs/hub/en/security-gpg
- Generating a new GPG key and Adding a GPG key to your account
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
- Configure git to sign your commits with GPG
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
- https://huggingface.co/docs/hub/en/security-gpg
- https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key

Metadata
Metadata
Assignees
Labels
No labels