Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.22 KB

SINGNED_COMMITS.md

File metadata and controls

52 lines (39 loc) · 1.22 KB
brew install gnupg
Please select what kind of key you want:
   (1) RSA and RSA (default)
   (2) DSA and Elgamal
   (3) DSA (sign only)
   (4) RSA (sign only)
Your selection? 4
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048) 4096
Requested keysize is 4096 bits
Please specify how long the key should be valid.
         0 = key does not expire
      <n>  = key expires in n days
      <n>w = key expires in n weeks
      <n>m = key expires in n months
      <n>y = key expires in n years
Key is valid for? (0) 0
Key does not expire at all
Is this correct? (y/N) y

You need a user ID to identify your key; the software constructs the user ID
from the Real Name, Comment and Email Address in this form:
    "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"

Real name: Irfan Baig
Email address: irfan.blackhawk@gmail.com
Comment:
You selected this USER-ID:
    "Irfan Baig <irfan.blackhawk@gmail.com>"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
You need a Passphrase to protect your secret key.

Test the empty commit

git commit -S -s -m "My Signed Commit" --allow-empty

Reference

https://gist.github.com/troyfontaine/18c9146295168ee9ca2b30c00bd1b41e