signing

package
v0.0.0-...-4aaa17f Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package signing provides functionality to manage GPU driver signatures for COS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadDriverSignatures

func DownloadDriverSignatures(ctx context.Context, downloader cos.ExtensionsDownloader, driverVersion string) error

DownloadDriverSignatures downloads GPU driver signatures.

func DownloadDriverSignaturesFromURL

func DownloadDriverSignaturesFromURL(signatureURL string) error

DownloadDriverSignaturesFromURL downloads GPU driver signatures from a provided URL.

func DownloadDriverSignaturesV2

func DownloadDriverSignaturesV2(ctx context.Context, downloader cos.ExtensionsDownloader, driverVersion string) error

DownloadDriverSignaturesV2 downloads GPU driver signatures from COS build artifacts.

func GetModuleSignature

func GetModuleSignature(moduleName string) string

GetModuleSignature returns siganture path given kernel module name.

func GetPrivateKey

func GetPrivateKey() string

GetPrivateKey returns the filepath of the private key of a given GPU driver. This is a dummy key as the driver has been signed in advance.

func GetPublicKeyDer

func GetPublicKeyDer() string

GetPublicKeyDer returns the filepath of the public key in der format.

func GetPublicKeyPem

func GetPublicKeyPem() string

GetPublicKeyPem returns the filepath of the public key in pem format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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