header-img
Info :
728x90

๊ฐ„ํ˜น ๊นƒ์— ์ฝ”๋“œ ์ปค๋ฐ‹ ๋ฆฌ์ŠคํŠธ๋ฅผ ๋ณด๋‹ค๋ณด๋ฉด Verified ํ‘œ์‹œ๊ฐ€ ๋œ ์ปค๋ฐ‹ ๋ฆฌ์ŠคํŠธ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.

๋ญ”๊ฐ€ ์žˆ์–ด๋ณด์ด๊ธฐ๋Š” ํ•œ๋ฐ... "์ด๊ฒƒ"์— ๋Œ€ํ•ด ์•Œ์•„๋ณด๋„๋ก ํ•˜๊ฒ ๋‹ค.

 

Verified commit ์˜ ํ•„์š”์„ฑ

Github๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ, 

git config --global user.email ๋ฐ”๊ฟ€์ด๋ฉ”์ผ์ฃผ์†Œ

ํ„ฐ๋ฏธ๋„/git bash์—์„œ ์ด๋Ÿฐ ๋ฌธ๋ฒ•์œผ๋กœ user.email / user.name ์„ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋œ๋‹ค.

๊ณ ๋กœ ์—ฌ๋Ÿฌ๋ช…์ด ๋™์‹œ์ ์œผ๋กœ ๊ฐœ๋ฐœํ•˜๋Š” ๊ฐœ๋ฐœ ํ™˜๊ฒฝ์—์„œ author ์ •๋ณด๋ฅผ ์กฐ์ž‘ํ•˜์—ฌ

๋‚ด๊ฐ€ ํ•œ ์ปค๋ฐ‹์ด ์•„๋‹ˆ๋”๋ผ๋„ ๋‚˜์˜ ์ •๋ณด๋กœ commit ์ด๋ ฅ์ด ๋‚จ์„ ์ˆ˜ ์žˆ๋‹ค.. (๋ฌธ์ œ)

-- SSO ์ธ์ฆ์œผ๋กœ ๋“ค์–ด์˜ค๋Š” git ๋˜ํ•œ ๋™์ผ / user.name ์€ ๋ฌผ๋ก  user.email ์ด ๋ณ€๊ฒฝ ๊ฐ€๋Šฅํ•˜๋‹ค.

 

์ด๊ฒƒ์„ ๋ฐฉ์ง€? ๋‚ด๊ฐ€ ์ง„์งœ์ž„์„ '์ธ์ฆ'ํ•˜๊ธฐ ์œ„ํ•ด commit์— ์„œ๋ช…์„ ๋ถ™ํ˜€ ์‚ฌ์šฉํ•˜๊ฒŒ ๋œ๋‹ค.

 

์ฃผ์ธ๋‹˜.. ๊ทธ ๋…€์„์€ ๊ฐ€์งœ์—์š”..

์ ์šฉ ๋ฐฉ๋ฒ•

1. GPG ์„ค์น˜

GPG(GNU Privacy Guard)๋ž€?
- PGP(Pretty Good Privacy)๋ผ๋Š” ์ด๋ฉ”์ผ์— ์“ฐ์ด๋Š” ์•”ํ˜ธํ™” ๋„๊ตฌ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๋งŒ๋“  ๊ตฌํ˜„์ฒด(Software)
- ์ผ๋ฐ˜์ ์œผ๋กœ RSA๋ฅผ ์‚ฌ์šฉํ•˜๋ฉฐ, ์ด ์™ธ์— ๋‹ค์–‘ํ•œ ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ์ง€์›.

์„ค์น˜ ์ฃผ์†Œ : https://gnupg.org/download/index.html

 

GnuPG - Download

Note that you may also download the GNU Privacy Guard from a mirror site close to you. See our list of mirrors. The table below provides links to the location of the files on the primary server only. These are the canonical release forms of GnuPG. To use t

gnupg.org

 

2. GPG ์„œ๋ช…

1. ํ„ฐ๋ฏธ๋„์— gpg --full-generate-key ์ž…๋ ฅ'

 

github ์„œ๋ช…์˜ ๊ฒฝ์šฐ keysize ๋Š” 4096 ์œผ๋กœ ์ง€์ •ํ•ด์•ผ ํ•œ๋‹ค.

$ gpg --full-generate-key

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)
  (14) Existing key from card
Your selection? 1
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (3072) 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) 2y
Key does not expire at all
Is this correct? (y/N) y

GnuPG needs to construct a user ID to identify your key.

Real name: myoung
Email address: ์‚ฌ์šฉํ• ์ด๋ฉ”์ผ

 

728x90
๋”๋ณด๊ธฐ
IT ๊ธฐ์ˆ /๊ธฐํƒ€