浏览代码

GPG key export

Bob Mottram 11 年前
父节点
当前提交
bdc09f0d9a
共有 1 个文件被更改,包括 16 次插入2 次删除
  1. 16
    2
      beaglebone.txt

+ 16
- 2
beaglebone.txt 查看文件

@@ -1477,12 +1477,26 @@ Select "*yes*" to change default settings.
1477 1477
 
1478 1478
 **** If you have existing GPG key
1479 1479
 
1480
-Select "I have existing public and private keys"
1480
+Export your GPG public and private keys.
1481 1481
 
1482
-Select your public and private GPG exported key files
1482
+#+BEGIN_SRC: bash
1483
+gpg --output ~/public_key.txt --armor --export KEY_ID
1484
+gpg --output ~/private_key.txt --armor --export-secret-key KEY_ID
1485
+#+END_SRC
1486
+
1487
+Select "*I have existing public and private keys*".
1488
+
1489
+Select your public and private GPG exported key files.
1483 1490
 
1484 1491
 Select the account which you want to use and click *Next*, *Next* and *Finish*.
1485 1492
 
1493
+Remove your exported key files.
1494
+
1495
+#+BEGIN_SRC: bash
1496
+shred -zu ~/public_key.txt
1497
+shred -zu ~/private_key.txt
1498
+#+END_SRC
1499
+
1486 1500
 **** If you don't have any existing GPG or PGP key
1487 1501
 TODO
1488 1502
 **** Using for the first time