From cb8c76db0f8523e4265738df0f079555e4b530c3 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Fri, 5 Mar 2021 23:53:13 +0100 Subject: pkgs/profpatsch: add gpg-private-offline-key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are the scripts I used to print my gpg private key onte a bunch of A4 papers, as QR codes of the paperkey output. It also contains an example of how to automatically read it back in with a ScanSnap „Einzugsscanner“. I think there also was a test that checks that the full roundtrip works :) The QR codes generation was designed in a way that they contain the highest amount of data when printed on A4 paper, while still being high-redundancy enough that you can destroy about 1/4th of them before they become unreadable. The key was also printed as plain paperkey format, so in the worst case when I don’t have a scanner I can type it in by hand. --- pkgs/profpatsch/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/profpatsch/default.nix') diff --git a/pkgs/profpatsch/default.nix b/pkgs/profpatsch/default.nix index 0d2a593a..2ff12510 100644 --- a/pkgs/profpatsch/default.nix +++ b/pkgs/profpatsch/default.nix @@ -271,4 +271,6 @@ in rec { backup = import ./backup { inherit pkgs writeExecline getBins backtick; }; + gpg-private-offline-key = import ./gpg-private-offline-key { inherit pkgs writeExecline getBins; }; + } -- cgit 1.4.1