Documentation ¶
Overview ¶
this is the list of commands for the devel version of the client.
this command is only for testing purposes
this is the list of commands for all versions of the client.
this is the list of commands for the devel version of the client.
Index ¶
- Constants
- Variables
- func AddPGPMultiInstructions(err error) error
- func AutoForkServer(g *libkb.GlobalContext, cl libkb.CommandLine) (bool, error)
- func AutoInstall(g *libkb.GlobalContext, binPath string, force bool) (newProc bool, err error)
- func ColorBytes(which string, text []byte) []byte
- func ColorClose(which string) []byte
- func ColorOpen(which string) []byte
- func ColorString(which, text string) string
- func DiagnoseSocketError(ui libkb.UI, err error)
- func DisplayJSON(jsonStr string) error
- func FixVersionClash(g *libkb.GlobalContext, cl libkb.CommandLine) (err error)
- func ForkServer(g *libkb.GlobalContext, cl libkb.CommandLine, forkType keybase1.ForkType) (bool, error)
- func GetAccountClient(g *libkb.GlobalContext) (cli keybase1.AccountClient, err error)
- func GetBTCClient(g *libkb.GlobalContext) (cli keybase1.BTCClient, err error)
- func GetCommands(cl *libcmdline.CommandLine, g *libkb.GlobalContext) []cli.Command
- func GetConfigClient(g *libkb.GlobalContext) (cli keybase1.ConfigClient, err error)
- func GetCtlClient(g *libkb.GlobalContext) (cli keybase1.CtlClient, err error)
- func GetDeviceClient() (cli keybase1.DeviceClient, err error)
- func GetExtraFlags() []cli.Flag
- func GetFavoriteClient() (cli keybase1.FavoriteClient, err error)
- func GetHelpTopics() []cli.HelpTopic
- func GetIdentifyClient(g *libkb.GlobalContext) (cli keybase1.IdentifyClient, err error)
- func GetKBCMFClient(g *libkb.GlobalContext) (cli keybase1.KbcmfClient, err error)
- func GetKBFSClient(g *libkb.GlobalContext) (cli keybase1.KbfsClient, err error)
- func GetLoginClient(g *libkb.GlobalContext) (cli keybase1.LoginClient, err error)
- func GetNodeAttrVal(node *html.Node, which string) *string
- func GetNotifyCtlClient(g *libkb.GlobalContext) (cli keybase1.NotifyCtlClient, err error)
- func GetPGPClient() (cli keybase1.PGPClient, err error)
- func GetProveClient() (cli keybase1.ProveClient, err error)
- func GetRPCClient() (ret *rpc.Client, xp rpc.Transporter, err error)
- func GetRPCClientWithContext(g *libkb.GlobalContext) (ret *rpc.Client, xp rpc.Transporter, err error)
- func GetRPCServer(g *libkb.GlobalContext) (ret *rpc.Server, xp rpc.Transporter, err error)
- func GetRevokeClient() (cli keybase1.RevokeClient, err error)
- func GetSignupClient(g *libkb.GlobalContext) (cli keybase1.SignupClient, err error)
- func GetSigsClient() (cli keybase1.SigsClient, err error)
- func GetTrackClient() (cli keybase1.TrackClient, err error)
- func GetUserClient() (cli keybase1.UserClient, err error)
- func HasColor() bool
- func InitUI()
- func NewCmdBTC(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCA(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCert(cl *libcmdline.CommandLine) cli.Command
- func NewCmdCompatDir(cl *libcmdline.CommandLine) cli.Command
- func NewCmdCompatPush(cl *libcmdline.CommandLine) cli.Command
- func NewCmdCompatSign(cl *libcmdline.CommandLine) cli.Command
- func NewCmdCompatVerify(cl *libcmdline.CommandLine) cli.Command
- func NewCmdConfig(cl *libcmdline.CommandLine) cli.Command
- func NewCmdConfigGet(cl *libcmdline.CommandLine) cli.Command
- func NewCmdConfigInfo(cl *libcmdline.CommandLine) cli.Command
- func NewCmdConfigReset(cl *libcmdline.CommandLine) cli.Command
- func NewCmdConfigSet(cl *libcmdline.CommandLine) cli.Command
- func NewCmdCtl(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtlLogRotate(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtlReload(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtlRestart(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtlStart(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdCtlStop(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDb(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDbNuke(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDecrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDeprovision(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDevice(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDeviceAdd(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDeviceList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdDeviceRemove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdEncrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdExp(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdFavorite(cl *libcmdline.CommandLine) cli.Command
- func NewCmdFavoriteAdd(cl *libcmdline.CommandLine) cli.Command
- func NewCmdFavoriteList(cl *libcmdline.CommandLine) cli.Command
- func NewCmdFavoriteRemove(cl *libcmdline.CommandLine) cli.Command
- func NewCmdID(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdListTrackers(cl *libcmdline.CommandLine) cli.Command
- func NewCmdListTracking(cl *libcmdline.CommandLine) cli.Command
- func NewCmdLogin(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdLogout(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGP(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPDecrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPDrop(cl *libcmdline.CommandLine) cli.Command
- func NewCmdPGPEncrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPExport(cl *libcmdline.CommandLine) cli.Command
- func NewCmdPGPGen(cl *libcmdline.CommandLine) cli.Command
- func NewCmdPGPImport(cl *libcmdline.CommandLine) cli.Command
- func NewCmdPGPPull(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPGPSelect(cl *libcmdline.CommandLine) cli.Command
- func NewCmdPGPSign(cl *libcmdline.CommandLine) cli.Command
- func NewCmdPGPUpdate(cl *libcmdline.CommandLine) cli.Command
- func NewCmdPGPVerify(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdPaperKey(cl *libcmdline.CommandLine) cli.Command
- func NewCmdPassphrase(cl *libcmdline.CommandLine) cli.Command
- func NewCmdPassphraseChange(cl *libcmdline.CommandLine) cli.Command
- func NewCmdPassphraseRecover(cl *libcmdline.CommandLine) cli.Command
- func NewCmdPing(cl *libcmdline.CommandLine) cli.Command
- func NewCmdProve(cl *libcmdline.CommandLine) cli.Command
- func NewCmdSearch(cl *libcmdline.CommandLine) cli.Command
- func NewCmdShowNotifications(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSignup(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdSigs(cl *libcmdline.CommandLine) cli.Command
- func NewCmdSigsList(cl *libcmdline.CommandLine) cli.Command
- func NewCmdSigsRevoke(cl *libcmdline.CommandLine) cli.Command
- func NewCmdStatus(cl *libcmdline.CommandLine) cli.Command
- func NewCmdStress(cl *libcmdline.CommandLine) cli.Command
- func NewCmdTestFSNotify(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdTestPassphrase(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdTrack(cl *libcmdline.CommandLine) cli.Command
- func NewCmdUnlock(cl *libcmdline.CommandLine) cli.Command
- func NewCmdUntrack(cl *libcmdline.CommandLine) cli.Command
- func NewCmdVersion(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewCmdWatchdog(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
- func NewGPGUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewIdentifyTrackUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewIdentifyUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewLogUIProtocol() rpc.Protocol
- func NewLoginUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewProvisionUIProtocol(g *libkb.GlobalContext, role libkb.KexRole) rpc.Protocol
- func NewSecretUIProtocol(g *libkb.GlobalContext) rpc.Protocol
- func NewStreamUIProtocol() rpc.Protocol
- func ParseTLF(path string) (keybase1.Folder, error)
- func PromptSelectionOrCancel(pd libkb.PromptDescriptor, ui libkb.TerminalUI, prompt string, low, hi int) (ret int, err error)
- func PromptWithChecker(pd libkb.PromptDescriptor, ui libkb.TerminalUI, prompt string, password bool, ...) (string, error)
- func RegisterProtocols(prots []rpc.Protocol) (err error)
- func RegisterProtocolsWithContext(prots []rpc.Protocol, g *libkb.GlobalContext) (err error)
- func Render(w io.Writer, m *libkb.Markup)
- func RenderText(w io.Writer, txt keybase1.Text)
- func TrackDiffToColoredString(t keybase1.TrackDiff) string
- func UserSummariesForSearchResults(results []keybase1.SearchResult) ([]keybase1.UserSummary, error)
- type BadArgsError
- type BadServiceError
- type BadUsernameError
- type BaseIdentifyUI
- func (ui BaseIdentifyUI) DisplayCryptocurrency(l keybase1.Cryptocurrency)
- func (ui BaseIdentifyUI) DisplayKey(key keybase1.IdentifyKey)
- func (ui BaseIdentifyUI) DisplayTrackStatement(stmt string) error
- func (ui BaseIdentifyUI) Finish()
- func (ui BaseIdentifyUI) FinishSocialProofCheck(p keybase1.RemoteProof, l keybase1.LinkCheckResult)
- func (ui BaseIdentifyUI) FinishWebProofCheck(p keybase1.RemoteProof, l keybase1.LinkCheckResult)
- func (ui BaseIdentifyUI) LaunchNetworkChecks(i *keybase1.Identity, u *keybase1.User)
- func (ui BaseIdentifyUI) PromptForConfirmation(s string) error
- func (ui BaseIdentifyUI) ReportHook(s string)
- func (ui BaseIdentifyUI) ReportLastTrack(tl *keybase1.TrackSummary)
- func (ui BaseIdentifyUI) ReportTrackToken(_ libkb.IdentifyCacheToken) error
- func (ui BaseIdentifyUI) SetStrict(b bool)
- func (ui BaseIdentifyUI) ShowWarnings(w libkb.Warnings)
- func (ui BaseIdentifyUI) TrackDiffUpgradedToString(t libkb.TrackDiffUpgraded) string
- func (ui BaseIdentifyUI) Warning(m string)
- type BufferSource
- type CanceledError
- type CheckResultWrapper
- type CleanCancelError
- type CmdBTC
- type CmdCA
- type CmdCert
- type CmdConfigGet
- type CmdConfigInfo
- type CmdConfigReset
- type CmdConfigSet
- type CmdCtlLogRotate
- type CmdCtlReload
- type CmdCtlRestart
- type CmdCtlStart
- type CmdCtlStop
- type CmdDbNuke
- type CmdDecrypt
- type CmdDeprovision
- type CmdDeviceAdd
- type CmdDeviceList
- type CmdDeviceRemove
- type CmdEncrypt
- type CmdFavoriteAdd
- type CmdFavoriteDelete
- type CmdFavoriteList
- type CmdID
- type CmdListTrackers
- type CmdListTracking
- type CmdLogin
- type CmdLogout
- type CmdPGPDecrypt
- type CmdPGPDrop
- type CmdPGPEncrypt
- type CmdPGPExport
- type CmdPGPGen
- type CmdPGPImport
- type CmdPGPPull
- type CmdPGPSelect
- type CmdPGPSign
- type CmdPGPUpdate
- type CmdPGPVerify
- type CmdPaperKey
- type CmdPassphraseChange
- type CmdPassphraseRecover
- type CmdPing
- type CmdProve
- type CmdSearch
- type CmdShowNotifications
- type CmdSignup
- type CmdSigsList
- type CmdSigsRevoke
- type CmdStatus
- type CmdStress
- func (c *CmdStress) ConfirmDuplicateKeyChosen(_ context.Context, _ int) (bool, error)
- func (c *CmdStress) GetKeybasePassphrase(_ context.Context, arg keybase1.GetKeybasePassphraseArg) (keybase1.GetPassphraseRes, error)
- func (c *CmdStress) GetNewPassphrase(_ context.Context, arg keybase1.GetNewPassphraseArg) (keybase1.GetPassphraseRes, error)
- func (c *CmdStress) GetPaperKeyPassphrase(_ context.Context, arg keybase1.GetPaperKeyPassphraseArg) (string, error)
- func (c *CmdStress) GetPassphrase(_ context.Context, arg keybase1.GetPassphraseArg) (res keybase1.GetPassphraseRes, err error)
- func (c *CmdStress) GetSecret(_ context.Context, arg keybase1.GetSecretArg) (res keybase1.SecretEntryRes, err error)
- func (c *CmdStress) GetUsage() libkb.Usage
- func (c *CmdStress) ParseArgv(ctx *cli.Context) error
- func (c *CmdStress) Run() error
- func (c *CmdStress) SelectKey(_ context.Context, arg keybase1.SelectKeyArg) (string, error)
- func (c *CmdStress) SelectKeyAndPushOption(_ context.Context, arg keybase1.SelectKeyAndPushOptionArg) (res keybase1.SelectKeyRes, err error)
- func (c *CmdStress) Sign(_ context.Context, arg keybase1.SignArg) (string, error)
- func (c *CmdStress) WantToAddGPGKey(_ context.Context, _ int) (bool, error)
- type CmdTestFSNotify
- type CmdTestPassphrase
- type CmdTrack
- type CmdUnlock
- type CmdUntrack
- type CmdVersion
- type CmdWatchdog
- type CodePair
- type Field
- type FileSink
- type FileSource
- type GPGUI
- func (g GPGUI) ConfirmDuplicateKeyChosen(_ context.Context, _ int) (bool, error)
- func (g GPGUI) SelectKey(ctx context.Context, arg keybase1.SelectKeyArg) (string, error)
- func (g GPGUI) SelectKeyAndPushOption(ctx context.Context, arg keybase1.SelectKeyAndPushOptionArg) (res keybase1.SelectKeyRes, err error)
- func (g GPGUI) SelectKeyID(_ context.Context, keys []keybase1.GPGKey) (string, error)
- func (g GPGUI) Sign(_ context.Context, arg keybase1.SignArg) (string, error)
- func (g GPGUI) WantToAddGPGKey(_ context.Context, _ int) (bool, error)
- type IdentifyTrackUI
- type IdentifyUI
- type IdentifyUIServer
- func (i *IdentifyUIServer) Confirm(_ context.Context, arg keybase1.ConfirmArg) (keybase1.ConfirmResult, error)
- func (i *IdentifyUIServer) DelegateIdentifyUI(_ context.Context) (int, error)
- func (i *IdentifyUIServer) DisplayCryptocurrency(_ context.Context, arg keybase1.DisplayCryptocurrencyArg) error
- func (i *IdentifyUIServer) DisplayKey(_ context.Context, arg keybase1.DisplayKeyArg) error
- func (i *IdentifyUIServer) DisplayTrackStatement(_ context.Context, arg keybase1.DisplayTrackStatementArg) error
- func (i *IdentifyUIServer) Finish(_ context.Context, sessionID int) error
- func (i *IdentifyUIServer) FinishSocialProofCheck(_ context.Context, arg keybase1.FinishSocialProofCheckArg) error
- func (i *IdentifyUIServer) FinishWebProofCheck(_ context.Context, arg keybase1.FinishWebProofCheckArg) error
- func (i *IdentifyUIServer) LaunchNetworkChecks(_ context.Context, arg keybase1.LaunchNetworkChecksArg) error
- func (i *IdentifyUIServer) ReportLastTrack(_ context.Context, arg keybase1.ReportLastTrackArg) error
- func (i *IdentifyUIServer) ReportTrackToken(_ context.Context, arg keybase1.ReportTrackTokenArg) error
- func (i *IdentifyUIServer) Start(_ context.Context, arg keybase1.StartArg) error
- type InputCanceledError
- type InternalError
- type LinkCheckResultWrapper
- type LogUIServer
- type LoginUI
- func (l LoginUI) DisplayPaperKeyPhrase(_ context.Context, arg keybase1.DisplayPaperKeyPhraseArg) error
- func (l LoginUI) DisplayPrimaryPaperKey(_ context.Context, arg keybase1.DisplayPrimaryPaperKeyArg) error
- func (l LoginUI) GetEmailOrUsername(_ context.Context, _ int) (string, error)
- func (l LoginUI) PromptRevokePaperKeys(_ context.Context, arg keybase1.PromptRevokePaperKeysArg) (bool, error)
- type NoTerminalError
- type NotConfirmedError
- type Paragraph
- type Printer
- type PromptFields
- type Prompter
- type ProofNotYetAvailableError
- type ProveUI
- func (p ProveUI) DisplayRecheckWarning(_ context.Context, arg keybase1.DisplayRecheckWarningArg) error
- func (p ProveUI) OkToCheck(_ context.Context, arg keybase1.OkToCheckArg) (bool, error)
- func (p ProveUI) OutputInstructions(_ context.Context, arg keybase1.OutputInstructionsArg) (err error)
- func (p ProveUI) OutputPrechecks(_ context.Context, arg keybase1.OutputPrechecksArg) error
- func (p ProveUI) PreProofWarning(_ context.Context, arg keybase1.PreProofWarningArg) (bool, error)
- func (p ProveUI) PromptOverwrite(_ context.Context, arg keybase1.PromptOverwriteArg) (bool, error)
- func (p ProveUI) PromptUsername(_ context.Context, arg keybase1.PromptUsernameArg) (string, error)
- type ProvisionUI
- func (p ProvisionUI) ChooseDeviceType(ctx context.Context, sessionID int) (keybase1.DeviceType, error)
- func (p ProvisionUI) ChooseProvisioningMethod(ctx context.Context, arg keybase1.ChooseProvisioningMethodArg) (keybase1.ProvisionMethod, error)
- func (p ProvisionUI) DisplayAndPromptSecret(ctx context.Context, arg keybase1.DisplayAndPromptSecretArg) (keybase1.SecretResponse, error)
- func (p ProvisionUI) DisplaySecretExchanged(ctx context.Context, sessionID int) error
- func (p ProvisionUI) PromptNewDeviceName(ctx context.Context, arg keybase1.PromptNewDeviceNameArg) (string, error)
- func (p ProvisionUI) ProvisioneeSuccess(ctx context.Context, arg keybase1.ProvisioneeSuccessArg) error
- func (p ProvisionUI) ProvisionerSuccess(ctx context.Context, arg keybase1.ProvisionerSuccessArg) error
- type RemoteProofWrapper
- func (w RemoteProofWrapper) GetDomain() string
- func (w RemoteProofWrapper) GetHostname() string
- func (w RemoteProofWrapper) GetProtocol() string
- func (w RemoteProofWrapper) GetRemoteUsername() string
- func (w RemoteProofWrapper) GetService() string
- func (w RemoteProofWrapper) ToDisplayString() string
- type Renderer
- type SecretEntry
- type SecretUI
- func (ui SecretUI) GetKeybasePassphrase(arg keybase1.GetKeybasePassphraseArg) (res keybase1.GetPassphraseRes, err error)
- func (ui SecretUI) GetNewPassphrase(earg keybase1.GetNewPassphraseArg) (eres keybase1.GetPassphraseRes, err error)
- func (ui SecretUI) GetPaperKeyPassphrase(arg keybase1.GetPaperKeyPassphraseArg) (text string, err error)
- func (ui SecretUI) GetPassphrase(pin keybase1.GUIEntryArg, term *keybase1.SecretEntryArg) (res keybase1.GetPassphraseRes, err error)
- func (ui SecretUI) GetSecret(pinentry keybase1.SecretEntryArg, term *keybase1.SecretEntryArg) (*keybase1.SecretEntryRes, error)
- type SecretUIServer
- func (s *SecretUIServer) GetKeybasePassphrase(_ context.Context, arg keybase1.GetKeybasePassphraseArg) (keybase1.GetPassphraseRes, error)
- func (s *SecretUIServer) GetNewPassphrase(_ context.Context, arg keybase1.GetNewPassphraseArg) (keybase1.GetPassphraseRes, error)
- func (s *SecretUIServer) GetPaperKeyPassphrase(_ context.Context, arg keybase1.GetPaperKeyPassphraseArg) (string, error)
- func (s *SecretUIServer) GetPassphrase(_ context.Context, arg keybase1.GetPassphraseArg) (keybase1.GetPassphraseRes, error)
- func (s *SecretUIServer) GetSecret(_ context.Context, arg keybase1.GetSecretArg) (res keybase1.SecretEntryRes, err error)
- type SigHintWrapper
- type Sink
- type Source
- type StdinSource
- type StdoutSink
- type Terminal
- func (t *Terminal) GetSecret(arg *keybase1.SecretEntryArg) (res *keybase1.SecretEntryRes, err error)
- func (t *Terminal) GetSize() (int, int)
- func (t *Terminal) Prompt(s string) (string, error)
- func (t *Terminal) PromptPassword(s string) (string, error)
- func (t *Terminal) PromptYesNo(p string, def libkb.PromptDefault) (ret bool, err error)
- func (t *Terminal) Shutdown() error
- func (t *Terminal) Write(s string) error
- type UI
- func (ui *UI) Configure() error
- func (ui *UI) DefaultTabWriter() *tabwriter.Writer
- func (ui *UI) GetDumbOutputUI() libkb.DumbOutputUI
- func (ui *UI) GetGPGUI() libkb.GPGUI
- func (ui *UI) GetIdentifyTrackUI(strict bool) libkb.IdentifyUI
- func (ui *UI) GetIdentifyUI() libkb.IdentifyUI
- func (ui *UI) GetLogUI() libkb.LogUI
- func (ui *UI) GetLoginUI() libkb.LoginUI
- func (ui *UI) GetProveUI() libkb.ProveUI
- func (ui *UI) GetProvisionUI(role libkb.KexRole) libkb.ProvisionUI
- func (ui *UI) GetSecretUI() libkb.SecretUI
- func (ui *UI) GetTerminalSize() (int, int)
- func (ui *UI) GetTerminalUI() libkb.TerminalUI
- func (ui *UI) NewTabWriter(minwidth, tabwidth, padding int, padchar byte, flags uint) *tabwriter.Writer
- func (ui *UI) Output(s string) error
- func (ui *UI) OutputWriter() io.Writer
- func (ui *UI) Printf(format string, a ...interface{}) (n int, err error)
- func (ui *UI) PrintfStderr(format string, a ...interface{}) (n int, err error)
- func (ui *UI) Println(a ...interface{}) (int, error)
- func (ui *UI) Prompt(_ libkb.PromptDescriptor, s string) (string, error)
- func (ui *UI) PromptForConfirmation(prompt string) error
- func (ui *UI) PromptPassword(_ libkb.PromptDescriptor, s string) (string, error)
- func (ui *UI) PromptSelection(prompt string, low, hi int) (ret int, err error)
- func (ui *UI) PromptYesNo(_ libkb.PromptDescriptor, p string, def libkb.PromptDefault) (ret bool, err error)
- func (ui *UI) Shutdown() error
- func (ui *UI) Tablify(headings []string, rowfunc func() []string)
- type UnexpectedArgsError
- type UnixFilter
Constants ¶
const ( PromptDescriptorGeneric libkb.PromptDescriptor = iota PromptDescriptorRevokePaperKeys PromptDescriptorReregister PromptDescriptorInviteOK PromptDescriptorPGPGenPushSecret PromptDescriptorDoctorWhichAccount PromptDescriptorDoctorSignOK PromptDescriptorGPGOKToAdd PromptDescriptorGPGConfirmDuplicateKey PromptDescriptorTrackAction PromptDescriptorTrackPublic PromptDescriptorProvePreWarning PromptDescriptorProveOKToCheck PromptDescriptorProveOverwriteOK PromptDescriptorLocksmithDeviceName PromptDescriptorLocksmithSigningOption PromptDescriptorGPGSelectKey PromptDescriptorLoginUsername PromptDescriptorLoginWritePaper PromptDescriptorLoginWallet PromptDescriptorSignupFullName PromptDescriptorSignupNotes PromptDescriptorSignupUsername PromptDescriptorSignupEmail PromptDescriptorSignupReenterPassphrase PromptDescriptorSignupDevice PromptDescriptorSignupCode PromptDescriptorChooseProvisioningMethod PromptDescriptorChooseGPGMethod PromptDescriptorChooseDeviceType PromptDescriptorProvisionPhrase PromptDescriptorProvisionDeviceName PromptDescriptorExportSecretKeyFromGPG PromptDescriptorDeprovisionWhichUser )
Variables ¶
var ( CpBold = CodePair{1, 22} CpDim = CodePair{2, 22} CpItalic = CodePair{3, 23} CpUnderline = CodePair{4, 24} CpStrikethrough = CodePair{9, 29} )
var AppHelpTemplate = `` /* 520-byte string literal not displayed */
AppHelpTemplate is used for `keybase help` or `keybase -h`.
var BADX = "✖"
var BTC = "฿"
var CHECK = "✔"
var CommandHelpTemplate = `` /* 442-byte string literal not displayed */
CommandHelpTemplate is used for `keybase help cmd` or `keybase cmd help subcmd`.
var G = libkb.G
Keep this around to simplify things
var INDENT = 3
var SmallKey = 1024
var SubcommandHelpTemplate = `` /* 163-byte string literal not displayed */
SubcommandHelpTemplate is used for `keybase cmd` with no other arguments when `cmd` has subcommands. Or for `keybase cmd help` when `cmd` has subcommands.
Functions ¶
func AddPGPMultiInstructions ¶
func AutoForkServer ¶
func AutoForkServer(g *libkb.GlobalContext, cl libkb.CommandLine) (bool, error)
AutoForkServer just forks the server and sets the autoFork flag to true
func AutoInstall ¶
func ColorBytes ¶
func ColorClose ¶
func ColorString ¶
func DiagnoseSocketError ¶
DebugSocketError allows platforms to help the user diagnose and resolve socket errors.
func DisplayJSON ¶
func FixVersionClash ¶
func FixVersionClash(g *libkb.GlobalContext, cl libkb.CommandLine) (err error)
func ForkServer ¶
func ForkServer(g *libkb.GlobalContext, cl libkb.CommandLine, forkType keybase1.ForkType) (bool, error)
ForkServer forks a new background Keybase service, and waits until it's pingable. It will only do something useful on Unixes; it won't work on Windows (probably?). Returns an error if anything bad happens; otherwise, assume that the server was successfully started up. Returns (true, nil) if the server was actually forked, or (false, nil) if it was previously up.
func GetAccountClient ¶
func GetAccountClient(g *libkb.GlobalContext) (cli keybase1.AccountClient, err error)
func GetBTCClient ¶
func GetBTCClient(g *libkb.GlobalContext) (cli keybase1.BTCClient, err error)
func GetCommands ¶
func GetCommands(cl *libcmdline.CommandLine, g *libkb.GlobalContext) []cli.Command
func GetConfigClient ¶
func GetConfigClient(g *libkb.GlobalContext) (cli keybase1.ConfigClient, err error)
func GetCtlClient ¶
func GetCtlClient(g *libkb.GlobalContext) (cli keybase1.CtlClient, err error)
func GetDeviceClient ¶
func GetDeviceClient() (cli keybase1.DeviceClient, err error)
func GetExtraFlags ¶
GetExtraFlags gets the extra fork-related flags for this platform
func GetFavoriteClient ¶
func GetFavoriteClient() (cli keybase1.FavoriteClient, err error)
func GetHelpTopics ¶
func GetIdentifyClient ¶
func GetIdentifyClient(g *libkb.GlobalContext) (cli keybase1.IdentifyClient, err error)
func GetKBCMFClient ¶
func GetKBCMFClient(g *libkb.GlobalContext) (cli keybase1.KbcmfClient, err error)
func GetKBFSClient ¶
func GetKBFSClient(g *libkb.GlobalContext) (cli keybase1.KbfsClient, err error)
func GetLoginClient ¶
func GetLoginClient(g *libkb.GlobalContext) (cli keybase1.LoginClient, err error)
func GetNotifyCtlClient ¶
func GetNotifyCtlClient(g *libkb.GlobalContext) (cli keybase1.NotifyCtlClient, err error)
func GetPGPClient ¶
func GetProveClient ¶
func GetProveClient() (cli keybase1.ProveClient, err error)
func GetRPCClient ¶
func GetRPCClient() (ret *rpc.Client, xp rpc.Transporter, err error)
func GetRPCClientWithContext ¶
func GetRPCClientWithContext(g *libkb.GlobalContext) (ret *rpc.Client, xp rpc.Transporter, err error)
func GetRPCServer ¶
func GetRPCServer(g *libkb.GlobalContext) (ret *rpc.Server, xp rpc.Transporter, err error)
func GetRevokeClient ¶
func GetRevokeClient() (cli keybase1.RevokeClient, err error)
func GetSignupClient ¶
func GetSignupClient(g *libkb.GlobalContext) (cli keybase1.SignupClient, err error)
func GetSigsClient ¶
func GetSigsClient() (cli keybase1.SigsClient, err error)
func GetTrackClient ¶
func GetTrackClient() (cli keybase1.TrackClient, err error)
func GetUserClient ¶
func GetUserClient() (cli keybase1.UserClient, err error)
func NewCmdBTC ¶
func NewCmdBTC(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCA ¶
func NewCmdCA(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCert ¶
func NewCmdCert(cl *libcmdline.CommandLine) cli.Command
func NewCmdCompatDir ¶
func NewCmdCompatDir(cl *libcmdline.CommandLine) cli.Command
func NewCmdCompatPush ¶
func NewCmdCompatPush(cl *libcmdline.CommandLine) cli.Command
func NewCmdCompatSign ¶
func NewCmdCompatSign(cl *libcmdline.CommandLine) cli.Command
func NewCmdCompatVerify ¶
func NewCmdCompatVerify(cl *libcmdline.CommandLine) cli.Command
func NewCmdConfig ¶
func NewCmdConfig(cl *libcmdline.CommandLine) cli.Command
func NewCmdConfigGet ¶
func NewCmdConfigGet(cl *libcmdline.CommandLine) cli.Command
func NewCmdConfigInfo ¶
func NewCmdConfigInfo(cl *libcmdline.CommandLine) cli.Command
func NewCmdConfigReset ¶
func NewCmdConfigReset(cl *libcmdline.CommandLine) cli.Command
func NewCmdConfigSet ¶
func NewCmdConfigSet(cl *libcmdline.CommandLine) cli.Command
func NewCmdCtl ¶
func NewCmdCtl(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtlLogRotate ¶
func NewCmdCtlLogRotate(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtlReload ¶
func NewCmdCtlReload(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtlRestart ¶
func NewCmdCtlRestart(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtlStart ¶
func NewCmdCtlStart(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdCtlStop ¶
func NewCmdCtlStop(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDb ¶
func NewCmdDb(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDbNuke ¶
func NewCmdDbNuke(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDecrypt ¶
func NewCmdDecrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDeprovision ¶
func NewCmdDeprovision(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdDevice ¶
func NewCmdDevice(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdDevice creates the device command, which is just a holder for subcommands.
func NewCmdDeviceAdd ¶
func NewCmdDeviceAdd(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdDeviceAdd creates a new cli.Command.
func NewCmdDeviceList ¶
func NewCmdDeviceList(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
NewCmdDeviceList creates a new cli.Command.
func NewCmdDeviceRemove ¶
func NewCmdDeviceRemove(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdEncrypt ¶
func NewCmdEncrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdExp ¶
func NewCmdExp(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdFavorite ¶
func NewCmdFavorite(cl *libcmdline.CommandLine) cli.Command
func NewCmdFavoriteAdd ¶
func NewCmdFavoriteAdd(cl *libcmdline.CommandLine) cli.Command
func NewCmdFavoriteList ¶
func NewCmdFavoriteList(cl *libcmdline.CommandLine) cli.Command
func NewCmdFavoriteRemove ¶
func NewCmdFavoriteRemove(cl *libcmdline.CommandLine) cli.Command
func NewCmdID ¶
func NewCmdID(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdListTrackers ¶
func NewCmdListTrackers(cl *libcmdline.CommandLine) cli.Command
NewCmdListTrackers creates a new cli.Command.
func NewCmdListTracking ¶
func NewCmdListTracking(cl *libcmdline.CommandLine) cli.Command
func NewCmdLogin ¶
func NewCmdLogin(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdLogout ¶
func NewCmdLogout(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGP ¶
func NewCmdPGP(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPDecrypt ¶
func NewCmdPGPDecrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPDrop ¶
func NewCmdPGPDrop(cl *libcmdline.CommandLine) cli.Command
func NewCmdPGPEncrypt ¶
func NewCmdPGPEncrypt(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPExport ¶
func NewCmdPGPExport(cl *libcmdline.CommandLine) cli.Command
func NewCmdPGPGen ¶
func NewCmdPGPGen(cl *libcmdline.CommandLine) cli.Command
func NewCmdPGPImport ¶
func NewCmdPGPImport(cl *libcmdline.CommandLine) cli.Command
func NewCmdPGPPull ¶
func NewCmdPGPPull(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPGPSelect ¶
func NewCmdPGPSelect(cl *libcmdline.CommandLine) cli.Command
func NewCmdPGPSign ¶
func NewCmdPGPSign(cl *libcmdline.CommandLine) cli.Command
func NewCmdPGPUpdate ¶
func NewCmdPGPUpdate(cl *libcmdline.CommandLine) cli.Command
func NewCmdPGPVerify ¶
func NewCmdPGPVerify(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdPaperKey ¶
func NewCmdPaperKey(cl *libcmdline.CommandLine) cli.Command
func NewCmdPassphrase ¶
func NewCmdPassphrase(cl *libcmdline.CommandLine) cli.Command
func NewCmdPassphraseChange ¶
func NewCmdPassphraseChange(cl *libcmdline.CommandLine) cli.Command
func NewCmdPassphraseRecover ¶
func NewCmdPassphraseRecover(cl *libcmdline.CommandLine) cli.Command
func NewCmdPing ¶
func NewCmdPing(cl *libcmdline.CommandLine) cli.Command
func NewCmdProve ¶
func NewCmdProve(cl *libcmdline.CommandLine) cli.Command
NewCmdProve makes a new prove command from the given CLI parameters.
func NewCmdSearch ¶
func NewCmdSearch(cl *libcmdline.CommandLine) cli.Command
func NewCmdShowNotifications ¶
func NewCmdShowNotifications(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdSignup ¶
func NewCmdSignup(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdSigs ¶
func NewCmdSigs(cl *libcmdline.CommandLine) cli.Command
func NewCmdSigsList ¶
func NewCmdSigsList(cl *libcmdline.CommandLine) cli.Command
func NewCmdSigsRevoke ¶
func NewCmdSigsRevoke(cl *libcmdline.CommandLine) cli.Command
func NewCmdStatus ¶
func NewCmdStatus(cl *libcmdline.CommandLine) cli.Command
func NewCmdStress ¶
func NewCmdStress(cl *libcmdline.CommandLine) cli.Command
func NewCmdTestFSNotify ¶
func NewCmdTestFSNotify(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdTestPassphrase ¶
func NewCmdTestPassphrase(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdTrack ¶
func NewCmdTrack(cl *libcmdline.CommandLine) cli.Command
func NewCmdUnlock ¶
func NewCmdUnlock(cl *libcmdline.CommandLine) cli.Command
func NewCmdUntrack ¶
func NewCmdUntrack(cl *libcmdline.CommandLine) cli.Command
func NewCmdVersion ¶
func NewCmdVersion(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewCmdWatchdog ¶
func NewCmdWatchdog(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command
func NewGPGUIProtocol ¶
func NewGPGUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewIdentifyTrackUIProtocol ¶
func NewIdentifyTrackUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewIdentifyUIProtocol ¶
func NewIdentifyUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewLogUIProtocol ¶
func NewLoginUIProtocol ¶
func NewLoginUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewProvisionUIProtocol ¶
func NewSecretUIProtocol ¶
func NewSecretUIProtocol(g *libkb.GlobalContext) rpc.Protocol
func NewStreamUIProtocol ¶
func ParseTLF ¶
ParseTLF takes keybase paths like
/keybase/public/patrick,chris /keybase/private/patrick,maxtaco@twitter public/patrick,jack /public/patrick,chris,sam
and creates suitable folders with the name portion and the private flag set correctly.
func PromptSelectionOrCancel ¶
func PromptSelectionOrCancel(pd libkb.PromptDescriptor, ui libkb.TerminalUI, prompt string, low, hi int) (ret int, err error)
func PromptWithChecker ¶
func PromptWithChecker(pd libkb.PromptDescriptor, ui libkb.TerminalUI, prompt string, password bool, checker libkb.Checker) (string, error)
func RegisterProtocols ¶
func RegisterProtocolsWithContext ¶
func RegisterProtocolsWithContext(prots []rpc.Protocol, g *libkb.GlobalContext) (err error)
func UserSummariesForSearchResults ¶
func UserSummariesForSearchResults(results []keybase1.SearchResult) ([]keybase1.UserSummary, error)
Types ¶
type BadArgsError ¶
type BadArgsError struct {
// contains filtered or unexported fields
}
func (BadArgsError) Error ¶
func (e BadArgsError) Error() string
type BadServiceError ¶
type BadServiceError struct {
// contains filtered or unexported fields
}
func (BadServiceError) Error ¶
func (e BadServiceError) Error() string
type BadUsernameError ¶
type BadUsernameError struct {
// contains filtered or unexported fields
}
func (BadUsernameError) Error ¶
func (e BadUsernameError) Error() string
type BaseIdentifyUI ¶
type BaseIdentifyUI struct {
// contains filtered or unexported fields
}
func (BaseIdentifyUI) DisplayCryptocurrency ¶
func (ui BaseIdentifyUI) DisplayCryptocurrency(l keybase1.Cryptocurrency)
func (BaseIdentifyUI) DisplayKey ¶
func (ui BaseIdentifyUI) DisplayKey(key keybase1.IdentifyKey)
func (BaseIdentifyUI) DisplayTrackStatement ¶
func (ui BaseIdentifyUI) DisplayTrackStatement(stmt string) error
func (BaseIdentifyUI) Finish ¶
func (ui BaseIdentifyUI) Finish()
func (BaseIdentifyUI) FinishSocialProofCheck ¶
func (ui BaseIdentifyUI) FinishSocialProofCheck(p keybase1.RemoteProof, l keybase1.LinkCheckResult)
func (BaseIdentifyUI) FinishWebProofCheck ¶
func (ui BaseIdentifyUI) FinishWebProofCheck(p keybase1.RemoteProof, l keybase1.LinkCheckResult)
func (BaseIdentifyUI) LaunchNetworkChecks ¶
func (ui BaseIdentifyUI) LaunchNetworkChecks(i *keybase1.Identity, u *keybase1.User)
func (BaseIdentifyUI) PromptForConfirmation ¶
func (ui BaseIdentifyUI) PromptForConfirmation(s string) error
func (BaseIdentifyUI) ReportHook ¶
func (ui BaseIdentifyUI) ReportHook(s string)
func (BaseIdentifyUI) ReportLastTrack ¶
func (ui BaseIdentifyUI) ReportLastTrack(tl *keybase1.TrackSummary)
func (BaseIdentifyUI) ReportTrackToken ¶
func (ui BaseIdentifyUI) ReportTrackToken(_ libkb.IdentifyCacheToken) error
func (BaseIdentifyUI) SetStrict ¶
func (ui BaseIdentifyUI) SetStrict(b bool)
func (BaseIdentifyUI) ShowWarnings ¶
func (ui BaseIdentifyUI) ShowWarnings(w libkb.Warnings)
func (BaseIdentifyUI) TrackDiffUpgradedToString ¶
func (ui BaseIdentifyUI) TrackDiffUpgradedToString(t libkb.TrackDiffUpgraded) string
func (BaseIdentifyUI) Warning ¶
func (ui BaseIdentifyUI) Warning(m string)
type BufferSource ¶
type BufferSource struct {
// contains filtered or unexported fields
}
func NewBufferSource ¶
func NewBufferSource(s string) *BufferSource
func (*BufferSource) Close ¶
func (b *BufferSource) Close() error
func (*BufferSource) Open ¶
func (b *BufferSource) Open() error
type CanceledError ¶
type CanceledError struct {
// contains filtered or unexported fields
}
type CheckResultWrapper ¶
type CheckResultWrapper struct {
// contains filtered or unexported fields
}
func (CheckResultWrapper) ToDisplayString ¶
func (crw CheckResultWrapper) ToDisplayString() string
type CleanCancelError ¶
type CleanCancelError struct{}
func (CleanCancelError) Error ¶
func (e CleanCancelError) Error() string
type CmdBTC ¶
type CmdBTC struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdBTCRunner ¶
func NewCmdBTCRunner(g *libkb.GlobalContext) *CmdBTC
func (*CmdBTC) SetAddress ¶
type CmdCA ¶
type CmdCA struct {
libkb.Contextified
}
type CmdConfigGet ¶
type CmdConfigGet struct {
// contains filtered or unexported fields
}
func (*CmdConfigGet) GetUsage ¶
func (v *CmdConfigGet) GetUsage() libkb.Usage
func (*CmdConfigGet) Run ¶
func (v *CmdConfigGet) Run() error
type CmdConfigInfo ¶
type CmdConfigInfo struct {
// contains filtered or unexported fields
}
func (*CmdConfigInfo) GetUsage ¶
func (v *CmdConfigInfo) GetUsage() libkb.Usage
func (*CmdConfigInfo) Run ¶
func (v *CmdConfigInfo) Run() error
type CmdConfigReset ¶
type CmdConfigReset struct {
// contains filtered or unexported fields
}
func (*CmdConfigReset) GetUsage ¶
func (v *CmdConfigReset) GetUsage() libkb.Usage
func (*CmdConfigReset) Run ¶
func (v *CmdConfigReset) Run() error
type CmdConfigSet ¶
type CmdConfigSet struct {
// contains filtered or unexported fields
}
func (*CmdConfigSet) GetUsage ¶
func (v *CmdConfigSet) GetUsage() libkb.Usage
func (*CmdConfigSet) Run ¶
func (v *CmdConfigSet) Run() error
type CmdCtlLogRotate ¶
type CmdCtlLogRotate struct {
libkb.Contextified
}
func (*CmdCtlLogRotate) GetUsage ¶
func (s *CmdCtlLogRotate) GetUsage() libkb.Usage
func (*CmdCtlLogRotate) Run ¶
func (s *CmdCtlLogRotate) Run() (err error)
type CmdCtlReload ¶
type CmdCtlReload struct {
libkb.Contextified
}
func (*CmdCtlReload) GetUsage ¶
func (s *CmdCtlReload) GetUsage() libkb.Usage
func (*CmdCtlReload) Run ¶
func (s *CmdCtlReload) Run() (err error)
type CmdCtlRestart ¶
type CmdCtlRestart struct {
libkb.Contextified
}
func (*CmdCtlRestart) GetUsage ¶
func (s *CmdCtlRestart) GetUsage() libkb.Usage
func (*CmdCtlRestart) Run ¶
func (s *CmdCtlRestart) Run() error
type CmdCtlStart ¶
type CmdCtlStart struct {
libkb.Contextified
}
func (*CmdCtlStart) GetUsage ¶
func (s *CmdCtlStart) GetUsage() libkb.Usage
func (*CmdCtlStart) Run ¶
func (s *CmdCtlStart) Run() (err error)
type CmdCtlStop ¶
type CmdCtlStop struct {
libkb.Contextified
}
func NewCmdCtlStopRunner ¶
func NewCmdCtlStopRunner(g *libkb.GlobalContext) *CmdCtlStop
func (*CmdCtlStop) GetUsage ¶
func (s *CmdCtlStop) GetUsage() libkb.Usage
func (*CmdCtlStop) Run ¶
func (s *CmdCtlStop) Run() (err error)
type CmdDbNuke ¶
type CmdDbNuke struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdDbNukeRunner ¶
func NewCmdDbNukeRunner(g *libkb.GlobalContext) *CmdDbNuke
type CmdDecrypt ¶
type CmdDecrypt struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdDecrypt) GetUsage ¶
func (c *CmdDecrypt) GetUsage() libkb.Usage
func (*CmdDecrypt) Run ¶
func (c *CmdDecrypt) Run() error
type CmdDeprovision ¶
type CmdDeprovision struct {
libkb.Contextified
}
func (*CmdDeprovision) GetUsage ¶
func (c *CmdDeprovision) GetUsage() libkb.Usage
func (*CmdDeprovision) Run ¶
func (c *CmdDeprovision) Run() (err error)
type CmdDeviceAdd ¶
type CmdDeviceAdd struct {
libkb.Contextified
}
CmdDeviceAdd is the 'device add' command. It is used for device provisioning on the provisioner/device X/C1.
func (*CmdDeviceAdd) GetUsage ¶
func (c *CmdDeviceAdd) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdDeviceAdd) ParseArgv ¶
func (c *CmdDeviceAdd) ParseArgv(ctx *cli.Context) error
ParseArgv gets the secret phrase from the command args.
func (*CmdDeviceAdd) Run ¶
func (c *CmdDeviceAdd) Run() error
RunClient runs the command in client/server mode.
type CmdDeviceList ¶
type CmdDeviceList struct { libkb.Contextified // contains filtered or unexported fields }
CmdDeviceList is the 'device list' command. It displays all the devices for the current user.
func (*CmdDeviceList) GetUsage ¶
func (c *CmdDeviceList) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdDeviceList) ParseArgv ¶
func (c *CmdDeviceList) ParseArgv(ctx *cli.Context) error
ParseArgv does nothing for this command.
func (*CmdDeviceList) Run ¶
func (c *CmdDeviceList) Run() error
RunClient runs the command in client/server mode.
type CmdDeviceRemove ¶
type CmdDeviceRemove struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdDeviceRemove) GetUsage ¶
func (c *CmdDeviceRemove) GetUsage() libkb.Usage
func (*CmdDeviceRemove) Run ¶
func (c *CmdDeviceRemove) Run() (err error)
type CmdEncrypt ¶
type CmdEncrypt struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdEncrypt) GetUsage ¶
func (c *CmdEncrypt) GetUsage() libkb.Usage
func (*CmdEncrypt) Run ¶
func (c *CmdEncrypt) Run() error
type CmdFavoriteAdd ¶
type CmdFavoriteAdd struct {
// contains filtered or unexported fields
}
func (*CmdFavoriteAdd) GetUsage ¶
func (c *CmdFavoriteAdd) GetUsage() libkb.Usage
func (*CmdFavoriteAdd) Run ¶
func (c *CmdFavoriteAdd) Run() error
type CmdFavoriteDelete ¶
type CmdFavoriteDelete struct {
// contains filtered or unexported fields
}
func (*CmdFavoriteDelete) GetUsage ¶
func (c *CmdFavoriteDelete) GetUsage() libkb.Usage
func (*CmdFavoriteDelete) Run ¶
func (c *CmdFavoriteDelete) Run() error
type CmdFavoriteList ¶
type CmdFavoriteList struct{}
func (*CmdFavoriteList) GetUsage ¶
func (c *CmdFavoriteList) GetUsage() libkb.Usage
func (*CmdFavoriteList) Run ¶
func (c *CmdFavoriteList) Run() error
type CmdID ¶
type CmdID struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdIDRunner ¶
func NewCmdIDRunner(g *libkb.GlobalContext) *CmdID
func (*CmdID) UseDelegateUI ¶
func (v *CmdID) UseDelegateUI()
type CmdListTrackers ¶
type CmdListTrackers struct {
// contains filtered or unexported fields
}
CmdListTrackers is the 'list-trackers' command. It displays all the trackers for a user.
func (*CmdListTrackers) GetUsage ¶
func (c *CmdListTrackers) GetUsage() libkb.Usage
GetUsage says what this command needs to operate.
func (*CmdListTrackers) ParseArgv ¶
func (c *CmdListTrackers) ParseArgv(ctx *cli.Context) error
ParseArgv parses the command args.
func (*CmdListTrackers) Run ¶
func (c *CmdListTrackers) Run() error
RunClient runs the command in client/server mode.
type CmdListTracking ¶
type CmdListTracking struct {
// contains filtered or unexported fields
}
func (*CmdListTracking) GetUsage ¶
func (s *CmdListTracking) GetUsage() libkb.Usage
func (*CmdListTracking) Run ¶
func (s *CmdListTracking) Run() error
type CmdLogin ¶
type CmdLogin struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdLoginRunner ¶
func NewCmdLoginRunner(g *libkb.GlobalContext) *CmdLogin
type CmdLogout ¶
type CmdLogout struct {
libkb.Contextified
}
func NewCmdLogoutRunner ¶
func NewCmdLogoutRunner(g *libkb.GlobalContext) *CmdLogout
type CmdPGPDecrypt ¶
type CmdPGPDecrypt struct { libkb.Contextified UnixFilter // contains filtered or unexported fields }
func (*CmdPGPDecrypt) GetUsage ¶
func (c *CmdPGPDecrypt) GetUsage() libkb.Usage
func (*CmdPGPDecrypt) Run ¶
func (c *CmdPGPDecrypt) Run() error
type CmdPGPDrop ¶
type CmdPGPDrop struct {
// contains filtered or unexported fields
}
func (*CmdPGPDrop) GetUsage ¶
func (c *CmdPGPDrop) GetUsage() libkb.Usage
func (*CmdPGPDrop) Run ¶
func (c *CmdPGPDrop) Run() (err error)
type CmdPGPEncrypt ¶
type CmdPGPEncrypt struct { libkb.Contextified UnixFilter // contains filtered or unexported fields }
func (*CmdPGPEncrypt) GetUsage ¶
func (c *CmdPGPEncrypt) GetUsage() libkb.Usage
func (*CmdPGPEncrypt) Run ¶
func (c *CmdPGPEncrypt) Run() error
type CmdPGPExport ¶
type CmdPGPExport struct { UnixFilter // contains filtered or unexported fields }
func (*CmdPGPExport) GetUsage ¶
func (s *CmdPGPExport) GetUsage() libkb.Usage
func (*CmdPGPExport) Run ¶
func (s *CmdPGPExport) Run() (err error)
type CmdPGPImport ¶
type CmdPGPImport struct { UnixFilter // contains filtered or unexported fields }
func (*CmdPGPImport) GetUsage ¶
func (s *CmdPGPImport) GetUsage() libkb.Usage
func (*CmdPGPImport) Run ¶
func (s *CmdPGPImport) Run() error
type CmdPGPPull ¶
type CmdPGPPull struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdPGPPull) GetUsage ¶
func (v *CmdPGPPull) GetUsage() libkb.Usage
func (*CmdPGPPull) Run ¶
func (v *CmdPGPPull) Run() (err error)
type CmdPGPSelect ¶
type CmdPGPSelect struct {
// contains filtered or unexported fields
}
func (*CmdPGPSelect) GetUsage ¶
func (v *CmdPGPSelect) GetUsage() libkb.Usage
func (*CmdPGPSelect) Run ¶
func (v *CmdPGPSelect) Run() error
type CmdPGPSign ¶
type CmdPGPSign struct { UnixFilter // contains filtered or unexported fields }
func (*CmdPGPSign) GetUsage ¶
func (s *CmdPGPSign) GetUsage() libkb.Usage
func (*CmdPGPSign) Run ¶
func (s *CmdPGPSign) Run() (err error)
type CmdPGPUpdate ¶
type CmdPGPUpdate struct {
// contains filtered or unexported fields
}
func (*CmdPGPUpdate) GetUsage ¶
func (v *CmdPGPUpdate) GetUsage() libkb.Usage
func (*CmdPGPUpdate) Run ¶
func (v *CmdPGPUpdate) Run() (err error)
type CmdPGPVerify ¶
type CmdPGPVerify struct { libkb.Contextified UnixFilter // contains filtered or unexported fields }
func (*CmdPGPVerify) GetUsage ¶
func (c *CmdPGPVerify) GetUsage() libkb.Usage
func (*CmdPGPVerify) Run ¶
func (c *CmdPGPVerify) Run() error
type CmdPaperKey ¶
type CmdPaperKey struct { }
func (*CmdPaperKey) GetUsage ¶
func (c *CmdPaperKey) GetUsage() libkb.Usage
func (*CmdPaperKey) Run ¶
func (c *CmdPaperKey) Run() error
type CmdPassphraseChange ¶
type CmdPassphraseChange struct{}
func (*CmdPassphraseChange) GetUsage ¶
func (c *CmdPassphraseChange) GetUsage() libkb.Usage
func (*CmdPassphraseChange) ParseArgv ¶
func (c *CmdPassphraseChange) ParseArgv(ctx *cli.Context) error
func (*CmdPassphraseChange) Run ¶
func (c *CmdPassphraseChange) Run() error
type CmdPassphraseRecover ¶
type CmdPassphraseRecover struct{}
func (*CmdPassphraseRecover) GetUsage ¶
func (c *CmdPassphraseRecover) GetUsage() libkb.Usage
func (*CmdPassphraseRecover) ParseArgv ¶
func (c *CmdPassphraseRecover) ParseArgv(ctx *cli.Context) error
func (*CmdPassphraseRecover) Run ¶
func (c *CmdPassphraseRecover) Run() error
type CmdProve ¶
type CmdProve struct {
// contains filtered or unexported fields
}
CmdProve is the wrapper structure for the the `keybase prove` operation.
type CmdShowNotifications ¶
type CmdShowNotifications struct {
libkb.Contextified
}
func (*CmdShowNotifications) GetUsage ¶
func (c *CmdShowNotifications) GetUsage() libkb.Usage
func (*CmdShowNotifications) ParseArgv ¶
func (c *CmdShowNotifications) ParseArgv(ctx *cli.Context) error
func (*CmdShowNotifications) Run ¶
func (c *CmdShowNotifications) Run() error
type CmdSignup ¶
type CmdSignup struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdSignupRunner ¶
func NewCmdSignupRunner(g *libkb.GlobalContext) *CmdSignup
func (*CmdSignup) MakePrompter ¶
func (s *CmdSignup) MakePrompter()
type CmdSigsList ¶
type CmdSigsList struct {
// contains filtered or unexported fields
}
func (*CmdSigsList) DisplayKTable ¶
func (s *CmdSigsList) DisplayKTable(sigs []keybase1.Sig) (err error)
func (*CmdSigsList) GetUsage ¶
func (s *CmdSigsList) GetUsage() libkb.Usage
func (*CmdSigsList) ParseTypes ¶
func (s *CmdSigsList) ParseTypes(ctx *cli.Context) error
func (*CmdSigsList) Run ¶
func (s *CmdSigsList) Run() error
type CmdSigsRevoke ¶
type CmdSigsRevoke struct {
// contains filtered or unexported fields
}
func (*CmdSigsRevoke) GetUsage ¶
func (c *CmdSigsRevoke) GetUsage() libkb.Usage
func (*CmdSigsRevoke) Run ¶
func (c *CmdSigsRevoke) Run() error
type CmdStress ¶
type CmdStress struct {
// contains filtered or unexported fields
}
CmdStress is used for testing concurrency in the daemon. Build the daemon with `-race`, then run this command.
func (*CmdStress) ConfirmDuplicateKeyChosen ¶
func (*CmdStress) GetKeybasePassphrase ¶
func (c *CmdStress) GetKeybasePassphrase(_ context.Context, arg keybase1.GetKeybasePassphraseArg) (keybase1.GetPassphraseRes, error)
func (*CmdStress) GetNewPassphrase ¶
func (c *CmdStress) GetNewPassphrase(_ context.Context, arg keybase1.GetNewPassphraseArg) (keybase1.GetPassphraseRes, error)
func (*CmdStress) GetPaperKeyPassphrase ¶
func (*CmdStress) GetPassphrase ¶
func (c *CmdStress) GetPassphrase(_ context.Context, arg keybase1.GetPassphraseArg) (res keybase1.GetPassphraseRes, err error)
func (*CmdStress) GetSecret ¶
func (c *CmdStress) GetSecret(_ context.Context, arg keybase1.GetSecretArg) (res keybase1.SecretEntryRes, err error)
func (*CmdStress) SelectKeyAndPushOption ¶
func (c *CmdStress) SelectKeyAndPushOption(_ context.Context, arg keybase1.SelectKeyAndPushOptionArg) (res keybase1.SelectKeyRes, err error)
type CmdTestFSNotify ¶
type CmdTestFSNotify struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdTestFSNotify) GetUsage ¶
func (s *CmdTestFSNotify) GetUsage() libkb.Usage
func (*CmdTestFSNotify) Run ¶
func (s *CmdTestFSNotify) Run() (err error)
type CmdTestPassphrase ¶
type CmdTestPassphrase struct {
libkb.Contextified
}
func (*CmdTestPassphrase) GetUsage ¶
func (s *CmdTestPassphrase) GetUsage() libkb.Usage
func (*CmdTestPassphrase) Run ¶
func (s *CmdTestPassphrase) Run() (err error)
type CmdUntrack ¶
type CmdUntrack struct {
// contains filtered or unexported fields
}
func (*CmdUntrack) GetUsage ¶
func (v *CmdUntrack) GetUsage() libkb.Usage
func (*CmdUntrack) Run ¶
func (v *CmdUntrack) Run() error
type CmdVersion ¶
type CmdVersion struct { libkb.Contextified // contains filtered or unexported fields }
func NewCmdVersionRunner ¶
func NewCmdVersionRunner(g *libkb.GlobalContext) *CmdVersion
func (*CmdVersion) GetUsage ¶
func (v *CmdVersion) GetUsage() libkb.Usage
func (*CmdVersion) Run ¶
func (v *CmdVersion) Run() error
type CmdWatchdog ¶
type CmdWatchdog struct { libkb.Contextified // contains filtered or unexported fields }
func (*CmdWatchdog) GetUsage ¶
func (c *CmdWatchdog) GetUsage() libkb.Usage
func (*CmdWatchdog) Run ¶
func (c *CmdWatchdog) Run() (err error)
type Field ¶
type FileSink ¶
type FileSink struct {
// contains filtered or unexported fields
}
func NewFileSink ¶
type FileSource ¶
type FileSource struct {
// contains filtered or unexported fields
}
func NewFileSource ¶
func NewFileSource(s string) *FileSource
func (*FileSource) Close ¶
func (s *FileSource) Close() error
func (*FileSource) Open ¶
func (s *FileSource) Open() error
type GPGUI ¶
type GPGUI struct { libkb.Contextified // contains filtered or unexported fields }
func NewGPGUI ¶
func NewGPGUI(g *libkb.GlobalContext, t libkb.TerminalUI, np bool) GPGUI
func (GPGUI) ConfirmDuplicateKeyChosen ¶
func (GPGUI) SelectKeyAndPushOption ¶
func (GPGUI) SelectKeyID ¶
type IdentifyTrackUI ¶
type IdentifyTrackUI struct { BaseIdentifyUI // contains filtered or unexported fields }
func (IdentifyTrackUI) Confirm ¶
func (ui IdentifyTrackUI) Confirm(o *keybase1.IdentifyOutcome) (result keybase1.ConfirmResult, err error)
func (IdentifyTrackUI) ReportRevoked ¶
func (ui IdentifyTrackUI) ReportRevoked(del []keybase1.TrackDiff)
func (IdentifyTrackUI) SetStrict ¶
func (ui IdentifyTrackUI) SetStrict(b bool)
func (*IdentifyTrackUI) Start ¶
func (ui *IdentifyTrackUI) Start(username string)
type IdentifyUI ¶
type IdentifyUI struct {
BaseIdentifyUI
}
func (IdentifyUI) Confirm ¶
func (ui IdentifyUI) Confirm(o *keybase1.IdentifyOutcome) (keybase1.ConfirmResult, error)
func (*IdentifyUI) Start ¶
func (ui *IdentifyUI) Start(username string)
type IdentifyUIServer ¶
type IdentifyUIServer struct {
// contains filtered or unexported fields
}
func (*IdentifyUIServer) Confirm ¶
func (i *IdentifyUIServer) Confirm(_ context.Context, arg keybase1.ConfirmArg) (keybase1.ConfirmResult, error)
func (*IdentifyUIServer) DelegateIdentifyUI ¶
func (i *IdentifyUIServer) DelegateIdentifyUI(_ context.Context) (int, error)
func (*IdentifyUIServer) DisplayCryptocurrency ¶
func (i *IdentifyUIServer) DisplayCryptocurrency(_ context.Context, arg keybase1.DisplayCryptocurrencyArg) error
func (*IdentifyUIServer) DisplayKey ¶
func (i *IdentifyUIServer) DisplayKey(_ context.Context, arg keybase1.DisplayKeyArg) error
func (*IdentifyUIServer) DisplayTrackStatement ¶
func (i *IdentifyUIServer) DisplayTrackStatement(_ context.Context, arg keybase1.DisplayTrackStatementArg) error
func (*IdentifyUIServer) Finish ¶
func (i *IdentifyUIServer) Finish(_ context.Context, sessionID int) error
func (*IdentifyUIServer) FinishSocialProofCheck ¶
func (i *IdentifyUIServer) FinishSocialProofCheck(_ context.Context, arg keybase1.FinishSocialProofCheckArg) error
func (*IdentifyUIServer) FinishWebProofCheck ¶
func (i *IdentifyUIServer) FinishWebProofCheck(_ context.Context, arg keybase1.FinishWebProofCheckArg) error
func (*IdentifyUIServer) LaunchNetworkChecks ¶
func (i *IdentifyUIServer) LaunchNetworkChecks(_ context.Context, arg keybase1.LaunchNetworkChecksArg) error
func (*IdentifyUIServer) ReportLastTrack ¶
func (i *IdentifyUIServer) ReportLastTrack(_ context.Context, arg keybase1.ReportLastTrackArg) error
func (*IdentifyUIServer) ReportTrackToken ¶
func (i *IdentifyUIServer) ReportTrackToken(_ context.Context, arg keybase1.ReportTrackTokenArg) error
type InputCanceledError ¶
type InputCanceledError struct{}
var ErrInputCanceled InputCanceledError
func (InputCanceledError) Error ¶
func (e InputCanceledError) Error() string
func (InputCanceledError) ToStatus ¶
func (e InputCanceledError) ToStatus() keybase1.Status
type InternalError ¶
type InternalError struct {
// contains filtered or unexported fields
}
func (InternalError) Error ¶
func (e InternalError) Error() string
type LinkCheckResultWrapper ¶
type LinkCheckResultWrapper struct {
// contains filtered or unexported fields
}
func (LinkCheckResultWrapper) GetCached ¶
func (w LinkCheckResultWrapper) GetCached() *CheckResultWrapper
func (LinkCheckResultWrapper) GetDiff ¶
func (w LinkCheckResultWrapper) GetDiff() *keybase1.TrackDiff
func (LinkCheckResultWrapper) GetError ¶
func (w LinkCheckResultWrapper) GetError() error
func (LinkCheckResultWrapper) GetHint ¶
func (w LinkCheckResultWrapper) GetHint() SigHintWrapper
func (LinkCheckResultWrapper) GetTorWarning ¶
func (w LinkCheckResultWrapper) GetTorWarning() bool
type LogUIServer ¶
type LogUIServer struct {
// contains filtered or unexported fields
}
type LoginUI ¶
type LoginUI struct {
// contains filtered or unexported fields
}
func NewLoginUI ¶
func NewLoginUI(t libkb.TerminalUI, noPrompt bool) LoginUI
func (LoginUI) DisplayPaperKeyPhrase ¶
func (LoginUI) DisplayPrimaryPaperKey ¶
func (LoginUI) GetEmailOrUsername ¶
func (LoginUI) PromptRevokePaperKeys ¶
type NoTerminalError ¶
type NoTerminalError struct{}
func (NoTerminalError) Error ¶
func (e NoTerminalError) Error() string
type NotConfirmedError ¶
type NotConfirmedError struct{}
func (NotConfirmedError) Error ¶
func (e NotConfirmedError) Error() string
type Paragraph ¶
type Paragraph struct {
// contains filtered or unexported fields
}
type PromptFields ¶
type PromptFields struct {
// contains filtered or unexported fields
}
func (PromptFields) ToList ¶
func (pf PromptFields) ToList() []*Field
type Prompter ¶
type Prompter struct { Fields []*Field // contains filtered or unexported fields }
func NewPrompter ¶
func NewPrompter(f []*Field, tui libkb.TerminalUI) *Prompter
type ProofNotYetAvailableError ¶
type ProofNotYetAvailableError struct{}
func (ProofNotYetAvailableError) Error ¶
func (e ProofNotYetAvailableError) Error() string
type ProveUI ¶
type ProveUI struct {
// contains filtered or unexported fields
}
func (ProveUI) DisplayRecheckWarning ¶
func (ProveUI) OutputInstructions ¶
func (ProveUI) OutputPrechecks ¶
func (ProveUI) PreProofWarning ¶
func (ProveUI) PromptOverwrite ¶
func (ProveUI) PromptUsername ¶
type ProvisionUI ¶
type ProvisionUI struct {
// contains filtered or unexported fields
}
func (ProvisionUI) ChooseDeviceType ¶
func (p ProvisionUI) ChooseDeviceType(ctx context.Context, sessionID int) (keybase1.DeviceType, error)
func (ProvisionUI) ChooseProvisioningMethod ¶
func (p ProvisionUI) ChooseProvisioningMethod(ctx context.Context, arg keybase1.ChooseProvisioningMethodArg) (keybase1.ProvisionMethod, error)
func (ProvisionUI) DisplayAndPromptSecret ¶
func (p ProvisionUI) DisplayAndPromptSecret(ctx context.Context, arg keybase1.DisplayAndPromptSecretArg) (keybase1.SecretResponse, error)
func (ProvisionUI) DisplaySecretExchanged ¶
func (p ProvisionUI) DisplaySecretExchanged(ctx context.Context, sessionID int) error
func (ProvisionUI) PromptNewDeviceName ¶
func (p ProvisionUI) PromptNewDeviceName(ctx context.Context, arg keybase1.PromptNewDeviceNameArg) (string, error)
func (ProvisionUI) ProvisioneeSuccess ¶
func (p ProvisionUI) ProvisioneeSuccess(ctx context.Context, arg keybase1.ProvisioneeSuccessArg) error
func (ProvisionUI) ProvisionerSuccess ¶
func (p ProvisionUI) ProvisionerSuccess(ctx context.Context, arg keybase1.ProvisionerSuccessArg) error
type RemoteProofWrapper ¶
type RemoteProofWrapper struct {
// contains filtered or unexported fields
}
func (RemoteProofWrapper) GetDomain ¶
func (w RemoteProofWrapper) GetDomain() string
func (RemoteProofWrapper) GetHostname ¶
func (w RemoteProofWrapper) GetHostname() string
func (RemoteProofWrapper) GetProtocol ¶
func (w RemoteProofWrapper) GetProtocol() string
func (RemoteProofWrapper) GetRemoteUsername ¶
func (w RemoteProofWrapper) GetRemoteUsername() string
func (RemoteProofWrapper) GetService ¶
func (w RemoteProofWrapper) GetService() string
func (RemoteProofWrapper) ToDisplayString ¶
func (w RemoteProofWrapper) ToDisplayString() string
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func NewRenderer ¶
func (*Renderer) FlushParagraph ¶
func (r *Renderer) FlushParagraph()
func (*Renderer) NewParagraph ¶
func (*Renderer) RenderNode ¶
func (*Renderer) RenderNodes ¶
type SecretEntry ¶
type SecretEntry struct {
// contains filtered or unexported fields
}
func NewSecretEntry ¶
func NewSecretEntry(t *Terminal) *SecretEntry
func (*SecretEntry) Get ¶
func (se *SecretEntry) Get(arg keybase1.SecretEntryArg, termArg *keybase1.SecretEntryArg, printer Printer) (res *keybase1.SecretEntryRes, err error)
func (*SecretEntry) Init ¶
func (se *SecretEntry) Init() (err error)
type SecretUI ¶
type SecretUI struct {
// contains filtered or unexported fields
}
func (SecretUI) GetKeybasePassphrase ¶
func (ui SecretUI) GetKeybasePassphrase(arg keybase1.GetKeybasePassphraseArg) (res keybase1.GetPassphraseRes, err error)
func (SecretUI) GetNewPassphrase ¶
func (ui SecretUI) GetNewPassphrase(earg keybase1.GetNewPassphraseArg) (eres keybase1.GetPassphraseRes, err error)
func (SecretUI) GetPaperKeyPassphrase ¶
func (ui SecretUI) GetPaperKeyPassphrase(arg keybase1.GetPaperKeyPassphraseArg) (text string, err error)
func (SecretUI) GetPassphrase ¶
func (ui SecretUI) GetPassphrase(pin keybase1.GUIEntryArg, term *keybase1.SecretEntryArg) (res keybase1.GetPassphraseRes, err error)
func (SecretUI) GetSecret ¶
func (ui SecretUI) GetSecret(pinentry keybase1.SecretEntryArg, term *keybase1.SecretEntryArg) (*keybase1.SecretEntryRes, error)
type SecretUIServer ¶
type SecretUIServer struct {
// contains filtered or unexported fields
}
func (*SecretUIServer) GetKeybasePassphrase ¶
func (s *SecretUIServer) GetKeybasePassphrase(_ context.Context, arg keybase1.GetKeybasePassphraseArg) (keybase1.GetPassphraseRes, error)
func (*SecretUIServer) GetNewPassphrase ¶
func (s *SecretUIServer) GetNewPassphrase(_ context.Context, arg keybase1.GetNewPassphraseArg) (keybase1.GetPassphraseRes, error)
func (*SecretUIServer) GetPaperKeyPassphrase ¶
func (s *SecretUIServer) GetPaperKeyPassphrase(_ context.Context, arg keybase1.GetPaperKeyPassphraseArg) (string, error)
func (*SecretUIServer) GetPassphrase ¶
func (s *SecretUIServer) GetPassphrase(_ context.Context, arg keybase1.GetPassphraseArg) (keybase1.GetPassphraseRes, error)
func (*SecretUIServer) GetSecret ¶
func (s *SecretUIServer) GetSecret(_ context.Context, arg keybase1.GetSecretArg) (res keybase1.SecretEntryRes, err error)
type SigHintWrapper ¶
type SigHintWrapper struct {
// contains filtered or unexported fields
}
func (SigHintWrapper) GetCheckText ¶
func (shw SigHintWrapper) GetCheckText() (ret string)
func (SigHintWrapper) GetHumanURL ¶
func (shw SigHintWrapper) GetHumanURL() (ret string)
type Source ¶
type Source interface { io.ReadCloser Open() error }
type StdinSource ¶
type StdinSource struct {
// contains filtered or unexported fields
}
func (*StdinSource) Close ¶
func (b *StdinSource) Close() error
Close a source, but consume all leftover input before so doing.
func (*StdinSource) Open ¶
func (b *StdinSource) Open() error
type StdoutSink ¶
type StdoutSink struct {
// contains filtered or unexported fields
}
func (*StdoutSink) Close ¶
func (s *StdoutSink) Close() error
func (*StdoutSink) HitError ¶
func (s *StdoutSink) HitError(e error) error
func (*StdoutSink) Open ¶
func (s *StdoutSink) Open() error
type Terminal ¶
type Terminal struct {
// contains filtered or unexported fields
}
func NewTerminal ¶
func (*Terminal) GetSecret ¶
func (t *Terminal) GetSecret(arg *keybase1.SecretEntryArg) (res *keybase1.SecretEntryRes, err error)
func (*Terminal) GetSize ¶
GetSize tries to get the size for the current terminal. It if fails it returns 80x24
func (*Terminal) PromptYesNo ¶
type UI ¶
type UI struct { libkb.Contextified Terminal *Terminal SecretEntry *SecretEntry }
var GlobUI *UI
func (*UI) DefaultTabWriter ¶
func (*UI) GetDumbOutputUI ¶
func (ui *UI) GetDumbOutputUI() libkb.DumbOutputUI
GetDumbOutput returns the main client UI, which happens to also be a dumb output UI too.
func (*UI) GetIdentifyTrackUI ¶
func (ui *UI) GetIdentifyTrackUI(strict bool) libkb.IdentifyUI
func (*UI) GetIdentifyUI ¶
func (ui *UI) GetIdentifyUI() libkb.IdentifyUI
func (*UI) GetLoginUI ¶
func (*UI) GetProveUI ¶
func (*UI) GetProvisionUI ¶
func (ui *UI) GetProvisionUI(role libkb.KexRole) libkb.ProvisionUI
func (*UI) GetSecretUI ¶
func (*UI) GetTerminalSize ¶
func (*UI) GetTerminalUI ¶
func (ui *UI) GetTerminalUI() libkb.TerminalUI
GetTerminalUI returns the main client UI, which happens to be a terminal UI
func (*UI) NewTabWriter ¶
func (*UI) OutputWriter ¶
func (*UI) PrintfStderr ¶
func (*UI) PromptForConfirmation ¶
func (*UI) PromptPassword ¶
func (*UI) PromptSelection ¶
func (*UI) PromptYesNo ¶
func (ui *UI) PromptYesNo(_ libkb.PromptDescriptor, p string, def libkb.PromptDefault) (ret bool, err error)
type UnexpectedArgsError ¶
type UnexpectedArgsError string
func (UnexpectedArgsError) Error ¶
func (e UnexpectedArgsError) Error() string
type UnixFilter ¶
type UnixFilter struct {
// contains filtered or unexported fields
}
func (*UnixFilter) ClientFilterOpen ¶
func (u *UnixFilter) ClientFilterOpen() (snk, src keybase1.Stream, err error)
func (*UnixFilter) Close ¶
func (u *UnixFilter) Close(inerr error) error
func (*UnixFilter) FilterInit ¶
func (u *UnixFilter) FilterInit(msg, infile, outfile string) (err error)
func (*UnixFilter) FilterOpen ¶
func (u *UnixFilter) FilterOpen() error
Source Files ¶
- cmd_btc.go
- cmd_ca.go
- cmd_cert.go
- cmd_compat.go
- cmd_config.go
- cmd_ctl.go
- cmd_ctl_logrotate.go
- cmd_ctl_reload.go
- cmd_ctl_restart.go
- cmd_ctl_start.go
- cmd_ctl_stop.go
- cmd_ctl_watchdog.go
- cmd_db_nuke.go
- cmd_decrypt.go
- cmd_deprovision.go
- cmd_device.go
- cmd_device_add.go
- cmd_device_list.go
- cmd_device_remove.go
- cmd_encrypt.go
- cmd_exp.go
- cmd_favorite.go
- cmd_favorite_add.go
- cmd_favorite_list.go
- cmd_favorite_remove.go
- cmd_id.go
- cmd_id_devel.go
- cmd_list_trackers.go
- cmd_list_tracking.go
- cmd_login.go
- cmd_logout.go
- cmd_paperkey.go
- cmd_passphrase.go
- cmd_passphrase_change.go
- cmd_passphrase_recover.go
- cmd_pgp.go
- cmd_pgp_decrypt.go
- cmd_pgp_drop.go
- cmd_pgp_encrypt.go
- cmd_pgp_export.go
- cmd_pgp_gen.go
- cmd_pgp_import.go
- cmd_pgp_pull.go
- cmd_pgp_select.go
- cmd_pgp_sign.go
- cmd_pgp_update.go
- cmd_pgp_verify.go
- cmd_ping.go
- cmd_prove.go
- cmd_search.go
- cmd_show_notifications.go
- cmd_signup.go
- cmd_sigs.go
- cmd_sigs_list.go
- cmd_sigs_revoke.go
- cmd_status.go
- cmd_stress.go
- cmd_test_fsnotify.go
- cmd_test_passphrase.go
- cmd_track.go
- cmd_unlock.go
- cmd_untrack.go
- cmd_version.go
- color.go
- color_nix.go
- commands_common.go
- commands_devel.go
- commands_non_osx.go
- display_nix.go
- errors.go
- files.go
- fork_server.go
- fork_server_nix.go
- gpg_ui.go
- help.go
- identify_ui.go
- interfaces.go
- log.go
- main.go
- markup.go
- passphrase_common.go
- pgp_common.go
- prompter.go
- prompts.go
- provision_ui.go
- rpc.go
- secret.go
- secret_entry.go
- terminal.go
- ui.go
- util.go
- versionfix.go