• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2021 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5syntax = "proto3";
6
7package chromiumos.config.prototype;
8
9option go_package = "go.chromium.org/chromiumos/config/go/prototype";
10
11// Defines the specific version of keyset used for mp/premp signing.
12// Keysets are managed agnostic of milestone branches, however, since
13// different milestones may use different keyset versions, this config
14// needs to be versioned as such.
15message SigningInstructions {
16  // Managing separate keysets for premp/mp allows projects to co-exist (still
17  // share the build) that are in different development stages.
18  // This could potentially be used to generate separate signed builds that
19  // group premp versus mp projects together.
20  //
21  // Prototyping notes:
22  //
23  // Channel signing configuration is going to be tied to
24  // design projects configs instead, since that is the driving factor as to
25  // whether a build should be pushed that far into release.
26  // Design projects will manage their first stable channel and once the
27  // project progresses to MP, it will trigger signing on those respective
28  // channels.
29  string premp_keyset = 1;
30  string mp_keyset = 2;
31
32  // Force enable firmware update.
33  bool firmware_update = 3;
34
35  // Should we ensure the image is not configured with a login password.
36  // Note: The old .instructions was 'ensure_no_password` but we'll take a
37  // default (safe) value of false.
38  bool allow_password = 4;
39
40  // This is overridden to control firmware image output names.
41  // e.g. chromeos_@VERSION@_bloonchipper_@KEYSET_VER@
42  string output_names = 5;
43
44  // This is used for firmware signing to locate ec files embedded in the
45  // firmware.
46  // e.g. nami_fp/release/ec.bin
47  string input_files = 6;
48}
49