-
Notifications
You must be signed in to change notification settings - Fork 0
/
.sops.yaml
58 lines (55 loc) · 2.39 KB
/
.sops.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
keys:
yubikeys:
# TODO: YubiKeys do not work due to https://github.com/getsops/sops/pull/1465 & https://github.com/Mic92/sops-nix/issues/377
# sops-nix uses sops through go.mod at https://github.com/Mic92/sops-nix/blob/ab2d1ffeb5b85da2f6537beb2fe05da54276c261/go.mod#L8
# see yubikey inventory at https://github.com/nazarewk-iac/nix-configs/blob/48f050928f2bbf29c6fbc63c53362f30300cdb1d/modules/hardware/yubikey/yubikeys.nix
oams:
serial: 16174038
age:
- &yk-oams-pin-touch age1yubikey1q05un9a8q2x783srmhv4hm3pjsrxvgrw92q70yyzjmlx3wnd8jwn2x8ghlp
- &yk-oams-touch age1yubikey1qfx38en49qfpyjf5hwn8dch6c0jvvtus29pvwgqlze35rraea00y6dw6rwv
- &yk-oams-unattended age1yubikey1q25g9xpunct74wnn29dgcgep78q666dkhpfg2flltg92fvyrew02j28464d
brys:
serial: 1617439
age:
- &yk-brys-pin-touch age1yubikey1qdppx4kd82ecfxr5lcmgef9w4zxmreyl2q3xv6dsq2jwgv274cm5zmjuy34
- &yk-brys-touch age1yubikey1qf4cjj3ksn60z9hnezkwysvgcll7y3mfxzwzdrzgkfkqe9thmczg6xmmfz9
- &yk-brys-unattended age1yubikey1q0ke6fjulkqg0x0elweecppfkqqr6cqsr42u8q5k5z6466mu60gjseq6p4t
etra:
serial: 22418334
age:
- &yk-etra-pin-touch age1yubikey1qtx9zwsndt5ayk8fzeptl4sxumw3aw7jgzx544xjwawdl3yn2ra7v60tn50
- &yk-etra-touch age1yubikey1qwlfxw5t9deg9a0lh6gqapfmwtncsgcvj4tzqslyxyf8gg2twnz7xjz0efa
- &yk-etra-unattended age1yubikey1qfkvupj8d583aw4pykay7hqg6ymret8quec45h2up0amushus33yvzkd2sw
hosts:
# converting SSH key to `age` identity:
# ssh-to-age </etc/ssh/ssh_host_ed25519_key.pub
# ssh-keyscan moss.kdn.im | grep ' ssh-ed25519 ' | ssh-to-age
oams:
age:
- &ssh-oams age1apym9pk5y5nvem3whc0zm5apnjw9ycxp490kspdj7m45qs7zqacsnne7yr
moss:
age:
- &ssh-moss age1n32gwqk35302kl4k2q2rwys2dzwasza596zknrfgp2nwvpt2rqms4xzc9n
etra:
age:
- &ssh-etra age1mjjz7t44e777szehss7ywv2lpwu53mjnvzvrqsyt27apwpew6fsqxqt3cj
brys:
age:
- &ssh-brys age1ysq2nvh5vkxra8gj74meqvfpc6axh5nv9sxn62s3mj3lz9987exqweqp0p
creation_rules:
- path_regex: '.unattended\.sops\.[^.]+$'
key_groups:
- age:
- *ssh-brys
- *ssh-etra
- *ssh-moss
- *ssh-oams
- *yk-brys-unattended
- *yk-etra-unattended
- *yk-oams-unattended
- key_groups:
- age:
- *yk-etra-touch
- *yk-brys-touch
- *yk-oams-touch