util

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPublicKeyFingerprintFromPrivateKey

func GetPublicKeyFingerprintFromPrivateKey(privateKeyPath string) (string, error)

GetPublicKeyFingerprintFromPrivateKey takes in location of a private key and returns the md5 fingerprint

func PromptForBackend

func PromptForBackend() (backend.Backend, error)

func PromptForConfirmation

func PromptForConfirmation(label, selected string) (bool, error)

Returns true if user selects 'Yes'. false if 'No'

Types

This section is empty.

Jump to

Keyboard shortcuts

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