aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0e5e8e3
--- /dev/null
+++ b/README.md
@@ -0,0 +1,22 @@
+# dotfiles - EuAndreh's personal repository
+
+## Paperkey
+
+Paperkey generated using:
+```shell
+cat <<EOF
+# Paper key
+gpg --export-secret-keys EuAndreh | paperkey > paperkey-content.txt
+
+# QR codes of paper key
+gpg --export-secret-keys EuAndreh | paperkey | qrencode -o out.png -S -v 16
+montage *.png -tile 1x2 -geometry +0+0 concatenate-out.png
+rm out*
+EOF
+```
+
+To recover from a paperkey:
+
+```shell
+paperkey --pubring <(wget -O- https://euandre.org/public-key.txt | gpg --dearmor) --secrets paperkey-content.txt | gpg --batch --import
+```