about summary refs log tree commit diff
path: root/pkgs/profpatsch/default.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-03-05 23:53:13 +0100
committerProfpatsch <mail@profpatsch.de>2021-03-05 23:53:13 +0100
commitcb8c76db0f8523e4265738df0f079555e4b530c3 (patch)
tree96c8cb461d9cad650aacbd9776180caee174a9b4 /pkgs/profpatsch/default.nix
parent2b182dc40d3b31887b044a45cfc90de864ff61fb (diff)
pkgs/profpatsch: add gpg-private-offline-key
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.
Diffstat (limited to 'pkgs/profpatsch/default.nix')
-rw-r--r--pkgs/profpatsch/default.nix2
1 files changed, 2 insertions, 0 deletions
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; };
+
 }