项目作者: a2f0

项目描述 :
Disaster Recovery Procedure for GnuPG Keys
高级语言:
项目地址: git://github.com/a2f0/gpg-disaster-recovery-procedure.git
创建时间: 2016-11-26T00:53:21Z
项目社区:https://github.com/a2f0/gpg-disaster-recovery-procedure

开源协议:

下载


Overview

Tested procedure for recovery of GPG keys. This is for GnuPG version 2.

Procedure

  1. Preparation

    Remove all existing keyrings

    1. rm -rf ~/.gnupg
  2. Retrieve private key from secret place, copy contents into a new file ~/restore-key.asc

  3. Import the keys

    Use GnuPG version 2

    1. gpg --import ~/restore-key.asc

    Make sure the keys are installed

    1. gpg --list-keys
    2. gpg --list-secret-keys
  4. Delete the key that was imported

    1. rm -rf ~/restore-key.asc
  5. Test the recovery

    1. Clone the blackbox demo

      1. cd /tmp && rm -rf blackbox-demo \
      2. && git clone https://github.com/deepeeess/blackbox-demo.git && cd blackbox-demo
    2. Test the ability to decrypt the file

      1. blackbox_decrypt_all_files
      2. blackbox_shred_all_files

Reference

blackbox-demo