summaryrefslogtreecommitdiffstats
path: root/TailOS.md
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-06-04 16:56:09 +0200
committerAhmed Abdelhalim <[email protected]>2025-06-10 12:03:17 +0200
commitf8b3b49d34a55c2b321a4b12bbfedd612c6e5ede (patch)
tree53f5f94b331f20fc5f463c4cd5286d6e37e0ea13 /TailOS.md
parent3ff6982b2b162e3d955040100c967f347cdd850b (diff)
Fix README structure
Diffstat (limited to 'TailOS.md')
-rw-r--r--TailOS.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/TailOS.md b/TailOS.md
new file mode 100644
index 0000000..4989887
--- /dev/null
+++ b/TailOS.md
@@ -0,0 +1,33 @@
+# TailsOS
+
+## GPG restore smart key
+
+```bash
+$ zbarcam -1 --raw > key.asc
+$ gpg --import key.asc
+$ gpg --edit-key --expert <key_id>
+gpg> trust
+gpg> keytocard
+Really move the primary key? (y/N) y
+Please select where to store the key:
+ (1) Signature key
+ (3) Authentication key
+Your selection? 1
+...
+gpg> key 1
+gpg> keytocard
+Please select where to store the key:
+ (2) Encryption key
+Your selection? 2
+...
+gpg> key 1
+gpg> key 2
+gpg> keytocard
+Please select where to store the key:
+ (3) Authentication key
+Your selection? 3
+...
+
+gpg> quit
+Save changes? (y/N) y
+```