cmd

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

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCertsFromFile

func AddCertsFromFile(where string) error

func AddCertsToAppFromFile

func AddCertsToAppFromFile(app string, where string) error

func BackupForApp

func BackupForApp(app string) error

func BackupForPlatform

func BackupForPlatform() error

func ConnectWithAppStore

func ConnectWithAppStore(uri *url.URL, app string) error

func ConnectWithPlatformStore

func ConnectWithPlatformStore(uri *url.URL) error

func GenerateWhitelist

func GenerateWhitelist(output string, from, file string) error

func ListCertsForApp

func ListCertsForApp(app string, cfg *ui.Config) error

ListCertsForApp finds certs for the given app. The supported applications are listed in the readme. This includes non-traditional applications like NSS.

func ListCertsForPlatform

func ListCertsForPlatform(cfg *ui.Config) error

ListCertsForPlatform finds certs for the given platform. The supported platforms can be found in the readme. They're compiled in with build flags in the `certs/find_*.go` files.

func ListCertsFromFile

func ListCertsFromFile(where string, cfg *ui.Config) error

ListCertsFromFile finds certificates at the given filepath and lists them according to the ui/format options.

func ListCertsFromURL

func ListCertsFromURL(where string, cfg *ui.Config) (err error)

ListCertsFromURL downloads a url and shows the certificates according to the ui/format options.

func RestoreForApp

func RestoreForApp(app, path string) error

func RestoreForPlatform

func RestoreForPlatform(path string) error

func WhitelistForApp

func WhitelistForApp(app, whpath string) error

func WhitelistForPlatform

func WhitelistForPlatform(whpath string) error

Types

type Trace

type Trace struct {
	// contains filtered or unexported fields
}

func NewTrace

func NewTrace(where string) (*Trace, error)

func (*Trace) Start

func (t *Trace) Start() error

func (*Trace) Stop

func (t *Trace) Stop() error

Jump to

Keyboard shortcuts

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