Affected by GO-2024-2468
and 4 other vulnerabilities
GO-2024-2468 : snapd Race Condition vulnerability in github.com/snapcore/snapd
GO-2024-3007 : snapd failed to restrict writes to the $HOME/bin path in github.com/snapcore/snapd
GO-2024-3008 : snapd failed to properly check the file type when extracting a snap in github.com/snapcore/snapd
GO-2024-3009 : snapd failed to properly check the destination of symbolic links when extracting a snap in github.com/snapcore/snapd
Discover Packages
github.com/snapcore/snapd
tests
lib
gendeveloper1
command
Version:
v0.0.0-...-f890545
Opens a new window with list of versions in this module.
Published: Nov 21, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
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"
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.