blob: 498988712d71e9d371380dcd1f49d0a63813e701 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
```
|