aboutsummaryrefslogtreecommitdiffstats
path: root/.config/nvim/UltiSnips/mail.snippets
blob: 95a41014ce40d71e09363c597951889ff41bef4e (plain)
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
snippet validate_pgp_key "A mail to verify a PGP key" b
Hi ${1: Name},

Please clear-sign [1] the attached `token.txt` file using the mentioned primary
key (not any of its subkeys) and send the resulting file to:

David Runge <dvzrv@master-key.archlinux.org>

To clearsign the file, use

\`\`\`
gpg --armor --default-key ${2: PGP KEY ID}! --clearsign token.txt
\`\`\`

If your primary key does not provide the Signature capability (S), make sure to
toggle it on temporarily:

\`\`\`
gpg --edit-key $2

change-usage

S

save
\`\`\`

Best,
David

[1] https://www.gnupg.org/gph/en/manual/x135.html

endsnippet