OSWikiHK: 请协力 GPLv3 的中文翻译工作。

產生一個新的 GnuPG 鑰匙

OSWikiHK,自由中文開源知識庫

目录

使用 Seahorse (Gnome 前端程式)

Seahorse 起始畫面
Enlarge
Seahorse 起始畫面
  • 啟動 Seahorse
    • 指令: 打 seahorse
    • Gnome 選單: 選 其他 > GPG Keys Manager
    • Debian 選單: 選 Apps > Tools > Seahorse


  • 在 Key 選單上選 New 產生一個新的 GnuPG 鑰匙
  • 填入您的姓名、電郵地址及密碼
產生一個新的 GnuPG 鑰匙
  • 產生途中,請您任意移動滑鼠,令程式產生一個較佳的 GnuPG 鑰匙。

使用 GPA (GNU Privacy Assistant - Gnome 前端程式)

GPA
Enlarge
GPA
  • 啟動 GPA
    • 指令: 打 gpa
    • Debian 選單: 選 Apps > Tools > The GNU Privacy Assistant


  • 選 Keys 選單中的 New Key...


  • 輸入您的姓名
產生一個新的 GnuPG 鑰匙
  • 輸入您的電郵地址
產生一個新的 GnuPG 鑰匙
  • 輸入額外描述
產生一個新的 GnuPG 鑰匙
  • 鍵入密碼串
產生一個新的 GnuPG 鑰匙
  • 選擇是否做一個備份
產生一個新的 GnuPG 鑰匙
  • 產生途中,請您任意移動滑鼠,令程式產生一個較佳的 GnuPG 鑰匙。

使用 Kgpg (KDE 前端程式)

Kgpg
Enlarge
Kgpg
  • 啟動 Kgpg
    • 指令: 打 kgpg
    • Debian 選單: 選 Apps > Tools > Kgpg
  • 選 Keys 選單中的 Generate Key Pair...
  • 輸入您的姓名及電郵地址
產生金鑰
  • 鍵入密碼串
產生金鑰
  • 產生途中,請您任意移動滑鼠,令程式產生一個較佳的 GnuPG 鑰匙。
產生金鑰
Enlarge
產生金鑰

使用指令 gpg

  • 打: gpg --gen-key
  • 選擇您想要的鑰匙類型 (一般使用預設,即 DSA and ElGamal)

Please select what kind of key you want:
(1) DSA and ElGamal (default)
(2) DSA (sign only)
(4) ElGamal (sign and encrypt)
Your selection? 1

  • 選擇鑰匙大小 (一般 1024bit 已足夠)

DSA keypair will have 1024 bits.
About to generate a new ELG-E keypair.
minimum keysize is 768 bits
default keysize is 1024 bits
highest suggested keysize is 2048 bits
What keysize do you want? (1024) 1024
Do you really need such a large keysize?

  • 選擇鑰匙的有效期

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

  • 輸入您的姓名和電郵地址

Real name: J. Random
Email address: j.random@examples.com
Comment: Demo
You selected this USER-ID:
"J. Random (Demo) <j.random@examples.com>"
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O

  • 輸入密碼
  • 產生途中,請您任意移動滑鼠或按動鍵盤上幾個鍵,令程式產生一個較佳的 GnuPG 鑰匙。

產生後事項

產生完一個新的 GnuPG 鑰匙後,別要忘記以下事項:

  • Debian 使用者別忘了匯入套件 debian-keyring 中的 Debian 開發者金鑰
Personal tools
廣告橫額