gunk-dev/the-valley

attestation-not-pem.cue

sourcedee3830391efmain's published tip history
602 bytes
1// An attestation's certificates are PEM, one certificate each and nothing
2// else. Base64 without its PEM lines is not one.
3package identity
4
5boundaries: "registry": kind: "registry"
6genesis: "root"
7principals: "root": {
8 kind: "human"
9 keys: [{
10 class: "ssh-ed25519"
11 bound: "hardware"
12 public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZNSh7kPQN53thBJoBVdGUpUJAkQAb4nsNo/pYJGVIX"
13 attestation: {
14 slot: "MIICJzCCAQ+gAwIBAgIQATCsihQMzzFrSCbhTl5GojANBgkqhkiG9w0BAQsFADAi"
15 f9: "MIIC9TCCAd2gAwIBAgIJAJXcF5k7Lbf8MA0GCSqGSIb3DQEBCwUAMCUxIzAhBgNV"
16 }
17 }]
18 grants: govern: boundary: "registry"
19}