blob: 29b74aa97b571059f354b7fbd0331b0ee3786e0c [file] [log] [blame]
Lorenz Brun662182f2022-03-10 14:06:48 +01001syntax = "proto3";
2option go_package = "source.monogon.dev/metropolis/pkg/tpm/proto";
3package metropolis.pkg.tpm;
4
5import "proto/tpm.proto";
6
7// ExtendedSealedBytes contains data sealed by a TPM2 via an indirection to
8// allow for more than 128 bytes of payload. It seals an ephemeral key for
9// a nacl secretbox in the TPM and stores the encrypted box next to the sealed
10// key.
11message ExtendedSealedBytes {
12 // The secretbox key, as sealed by the TPM.
13 .proto.SealedBytes sealed_key = 1;
14 // The encrypted box contents.
15 bytes encrypted_payload = 2;
16}