gendeveloper1

command
v0.0.0-...-f890545 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

The “gendeveloper1” tool can be used generate model assertions for use in tests. It reads the assetion headers in form of a JSON from stdin, and outputs a model assertion, signed by the test key to stdout.

Usage:

gendeveloper1 sign-model < headers.json > assertion.model

Example input:

{
    "type": "model",
    "brand-id": "developer1",
    "model": "my-model",
    "architecture": "amd64",
    "gadget": "test-snapd-pc",
    "kernel": "pc-kernel=18",
    "timestamp": "2018-09-11T22:00:00+00:00"
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL