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
snap
integrity
dmverity
package
Version:
v0.0.0-...-55306fc
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: 9
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Info struct {
RootHash string `json:"root-hash"`
}
Info represents the dm-verity related data that:
are not included in the superblock which is generated by default when running
veritysetup.
need their authenticity verified prior to loading the integrity data into the
kernel.
For now, since we are keeping the superblock as it is, this only includes the root hash.
Format runs "veritysetup format" and returns an Info struct which includes the
root hash. "veritysetup format" calculates the hash verification data for
dataDevice and stores them in hashDevice. The root hash is retrieved from
the command's stdout.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.