Affected by GO-2022-0793
and 1 other vulnerabilities
GO-2022-0793 : Path traversal in u-root in github.com/u-root/u-root
GO-2022-0805 : github.com/u-root/u-root/pkg/tarutil Arbitrary File Write via Archive Extraction (Zip Slip) in github.com/u-root/u-root
Discover Packages
github.com/u-root/u-root
pkg
securelaunch
policy
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Nov 19, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 8
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package policy locates and parses a JSON policy file.
* Policy describes the TPM measurements to take and the OS to boot.
*
* The policy is stored as a JSON file.
* Get locates and parses the policy file.
*
* The file is located by the following priority:
*
* (1) kernel cmdline "sl_policy" argument.
* (2) a file on any partition on any disk called "securelaunch.policy"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.