Versions in this module Expand all Collapse all v1 v1.0.18 Oct 26, 2016 Changes in this version + const PostHeadersSelector + const RedditPrefix + const RedditSub + func APIBase(un string) string + func AssertionParse(s string) (libkb.AssertionExpression, error) + func AssertionParseAndOnly(s string) (libkb.AssertionExpression, error) + func CheckKarma(ctx libkb.ProofContext, un string) (int, error) + func GetServices() libkb.ExternalServicesCollector + func IsSocialAssertion(s string) bool + func KarmaURL(un string) string + func MakeAssertionContext() libkb.AssertionContext + func NewGlobalContextInit() *libkb.GlobalContext + func NormalizeSocialAssertion(s string) (keybase1.SocialAssertion, bool) + func ParseWeb(s string) (hostname string, prot string, err error) + func SetupTest(tb testing.TB, name string, depth int) (tc libkb.TestContext) + type CoinbaseChecker struct + func NewCoinbaseChecker(p libkb.RemoteProofChainLink) (*CoinbaseChecker, libkb.ProofError) + func (rc *CoinbaseChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *CoinbaseChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *CoinbaseChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *CoinbaseChecker) GetTorError() libkb.ProofError + func (rc *CoinbaseChecker) ProfileURL() string + type CoinbaseServiceType struct + func (t CoinbaseServiceType) AllStringKeys() []string + func (t CoinbaseServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error) + func (t CoinbaseServiceType) DisplayName(un string) string + func (t CoinbaseServiceType) GetPrompt() string + func (t CoinbaseServiceType) GetProofType() string + func (t CoinbaseServiceType) GetTypeName() string + func (t CoinbaseServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker + func (t CoinbaseServiceType) NormalizeRemoteName(_ libkb.ProofContext, s string) (ret string, err error) + func (t CoinbaseServiceType) NormalizeUsername(s string) (string, error) + func (t CoinbaseServiceType) PostInstructions(un string) *libkb.Markup + func (t CoinbaseServiceType) PreProofCheck(ctx libkb.ProofContext, normalizedUsername string) (*libkb.Markup, error) + func (t CoinbaseServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error) + func (t CoinbaseServiceType) ToServiceJSON(un string) *jsonw.Wrapper + type DNSChecker struct + func NewDNSChecker(p libkb.RemoteProofChainLink) (*DNSChecker, libkb.ProofError) + func (rc *DNSChecker) CheckDomain(ctx libkb.ProofContext, sig string, domain string) libkb.ProofError + func (rc *DNSChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *DNSChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *DNSChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *DNSChecker) GetTorError() libkb.ProofError + type DNSServiceType struct + func (t DNSServiceType) AllStringKeys() []string + func (t DNSServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error) + func (t DNSServiceType) DisplayName(un string) string + func (t DNSServiceType) FormatProofText(ppr *libkb.PostProofRes) (string, error) + func (t DNSServiceType) GetAPIArgKey() string + func (t DNSServiceType) GetPrompt() string + func (t DNSServiceType) GetProofType() string + func (t DNSServiceType) GetTypeName() string + func (t DNSServiceType) LastWriterWins() bool + func (t DNSServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker + func (t DNSServiceType) NormalizeRemoteName(_ libkb.ProofContext, s string) (string, error) + func (t DNSServiceType) NormalizeUsername(s string) (string, error) + func (t DNSServiceType) PostInstructions(un string) *libkb.Markup + func (t DNSServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, dn string) (warning *libkb.Markup, err error) + func (t DNSServiceType) ToServiceJSON(un string) *jsonw.Wrapper + type FacebookChecker struct + func NewFacebookChecker(p libkb.RemoteProofChainLink) (*FacebookChecker, libkb.ProofError) + func (rc *FacebookChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *FacebookChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *FacebookChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *FacebookChecker) GetTorError() libkb.ProofError + func (rc *FacebookChecker) ScreenNameCompare(s1, s2 string) bool + type FacebookServiceType struct + func (t FacebookServiceType) AllStringKeys() []string + func (t FacebookServiceType) CheckProofText(text string, id keybase1.SigID, sig string) error + func (t FacebookServiceType) DisplayName(un string) string + func (t FacebookServiceType) GetPrompt() string + func (t FacebookServiceType) GetProofType() string + func (t FacebookServiceType) GetTypeName() string + func (t FacebookServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker + func (t FacebookServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (string, error) + func (t FacebookServiceType) NormalizeUsername(s string) (string, error) + func (t FacebookServiceType) PostInstructions(un string) *libkb.Markup + func (t FacebookServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error) + func (t FacebookServiceType) ToServiceJSON(un string) *jsonw.Wrapper + type GithubChecker struct + func NewGithubChecker(p libkb.RemoteProofChainLink) (*GithubChecker, libkb.ProofError) + func (rc *GithubChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *GithubChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *GithubChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *GithubChecker) GetTorError() libkb.ProofError + type GithubServiceType struct + func (t GithubServiceType) AllStringKeys() []string + func (t GithubServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error) + func (t GithubServiceType) DisplayName(un string) string + func (t GithubServiceType) GetPrompt() string + func (t GithubServiceType) GetProofType() string + func (t GithubServiceType) GetTypeName() string + func (t GithubServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker + func (t GithubServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (ret string, err error) + func (t GithubServiceType) NormalizeUsername(s string) (string, error) + func (t GithubServiceType) PostInstructions(un string) *libkb.Markup + func (t GithubServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error) + func (t GithubServiceType) ToServiceJSON(un string) *jsonw.Wrapper + type HackerNewsChecker struct + func NewHackerNewsChecker(p libkb.RemoteProofChainLink) (*HackerNewsChecker, libkb.ProofError) + func (h *HackerNewsChecker) APIBase() string + func (h *HackerNewsChecker) APIURL() string + func (h *HackerNewsChecker) CheckHint(ctx libkb.ProofContext, hint libkb.SigHint) libkb.ProofError + func (h *HackerNewsChecker) CheckStatus(ctx libkb.ProofContext, hint libkb.SigHint) libkb.ProofError + func (h *HackerNewsChecker) CheckStatusOld(ctx libkb.ProofContext, hint libkb.SigHint) libkb.ProofError + func (h *HackerNewsChecker) GetTorError() libkb.ProofError + func (h *HackerNewsChecker) HumanURL() string + func (h *HackerNewsChecker) KarmaURL() string + type HackerNewsServiceType struct + func (t HackerNewsServiceType) AllStringKeys() []string + func (t HackerNewsServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error) + func (t HackerNewsServiceType) DisplayName(un string) string + func (t HackerNewsServiceType) GetPrompt() string + func (t HackerNewsServiceType) GetProofType() string + func (t HackerNewsServiceType) GetTypeName() string + func (t HackerNewsServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker + func (t HackerNewsServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (string, error) + func (t HackerNewsServiceType) NormalizeUsername(s string) (string, error) + func (t HackerNewsServiceType) PostInstructions(un string) *libkb.Markup + func (t HackerNewsServiceType) PreProofCheck(ctx libkb.ProofContext, un string) (markup *libkb.Markup, err error) + func (t HackerNewsServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error) + func (t HackerNewsServiceType) ToServiceJSON(un string) *jsonw.Wrapper + type RedditChecker struct + func NewRedditChecker(p libkb.RemoteProofChainLink) (*RedditChecker, libkb.ProofError) + func (rc *RedditChecker) CheckData(h libkb.SigHint, dat *jsonw.Wrapper) libkb.ProofError + func (rc *RedditChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *RedditChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *RedditChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *RedditChecker) GetTorError() libkb.ProofError + func (rc *RedditChecker) ScreenNameCompare(s1, s2 string) bool + func (rc *RedditChecker) UnpackData(inp *jsonw.Wrapper) (*jsonw.Wrapper, libkb.ProofError) + type RedditServiceType struct + func (t RedditServiceType) AllStringKeys() []string + func (t RedditServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error) + func (t RedditServiceType) DisplayName(un string) string + func (t RedditServiceType) FormatProofText(ppr *libkb.PostProofRes) (res string, err error) + func (t RedditServiceType) GetPrompt() string + func (t RedditServiceType) GetProofType() string + func (t RedditServiceType) GetTypeName() string + func (t RedditServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker + func (t RedditServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (ret string, err error) + func (t RedditServiceType) NormalizeUsername(s string) (string, error) + func (t RedditServiceType) PostInstructions(un string) *libkb.Markup + func (t RedditServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error) + func (t RedditServiceType) ToServiceJSON(un string) *jsonw.Wrapper + type RooterChecker struct + func NewRooterChecker(p libkb.RemoteProofChainLink) (*RooterChecker, libkb.ProofError) + func (rc *RooterChecker) CheckData(h libkb.SigHint, dat string) libkb.ProofError + func (rc *RooterChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) (err libkb.ProofError) + func (rc *RooterChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) (perr libkb.ProofError) + func (rc *RooterChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) (perr libkb.ProofError) + func (rc *RooterChecker) GetTorError() libkb.ProofError + func (rc *RooterChecker) ScreenNameCompare(s1, s2 string) bool + func (rc *RooterChecker) UnpackData(inp *jsonw.Wrapper) (string, libkb.ProofError) + type RooterServiceType struct + func (t RooterServiceType) AllStringKeys() []string + func (t RooterServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error) + func (t RooterServiceType) DisplayName(un string) string + func (t RooterServiceType) GetPrompt() string + func (t RooterServiceType) GetProofType() string + func (t RooterServiceType) GetTypeName() string + func (t RooterServiceType) IsDevelOnly() bool + func (t RooterServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker + func (t RooterServiceType) NormalizeRemoteName(_ libkb.ProofContext, s string) (string, error) + func (t RooterServiceType) NormalizeUsername(s string) (string, error) + func (t RooterServiceType) PostInstructions(un string) *libkb.Markup + func (t RooterServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error) + func (t RooterServiceType) ToServiceJSON(un string) *jsonw.Wrapper + type TwitterChecker struct + func NewTwitterChecker(p libkb.RemoteProofChainLink) (*TwitterChecker, libkb.ProofError) + func (rc *TwitterChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *TwitterChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *TwitterChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *TwitterChecker) GetTorError() libkb.ProofError + func (rc *TwitterChecker) ScreenNameCompare(s1, s2 string) bool + type TwitterServiceType struct + func (t TwitterServiceType) AllStringKeys() []string + func (t TwitterServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error) + func (t TwitterServiceType) DisplayName(un string) string + func (t TwitterServiceType) GetPrompt() string + func (t TwitterServiceType) GetProofType() string + func (t TwitterServiceType) GetTypeName() string + func (t TwitterServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker + func (t TwitterServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (string, error) + func (t TwitterServiceType) NormalizeUsername(s string) (string, error) + func (t TwitterServiceType) PostInstructions(un string) *libkb.Markup + func (t TwitterServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error) + func (t TwitterServiceType) ToServiceJSON(un string) *jsonw.Wrapper + type WebChecker struct + func NewWebChecker(p libkb.RemoteProofChainLink) (*WebChecker, libkb.ProofError) + func (rc *WebChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *WebChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *WebChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError + func (rc *WebChecker) GetTorError() libkb.ProofError + type WebServiceType struct + func (t WebServiceType) AllStringKeys() []string + func (t WebServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error) + func (t WebServiceType) DisplayName(un string) string + func (t WebServiceType) GetAPIArgKey() string + func (t WebServiceType) GetPrompt() string + func (t WebServiceType) GetProofType() string + func (t WebServiceType) GetTypeName() string + func (t WebServiceType) LastWriterWins() bool + func (t WebServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker + func (t WebServiceType) MarkupFilenames(un string, mkp *libkb.Markup) + func (t WebServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (ret string, err error) + func (t WebServiceType) NormalizeUsername(s string) (ret string, err error) + func (t WebServiceType) PostInstructions(un string) *libkb.Markup + func (t WebServiceType) PreProofWarning(un string) *libkb.Markup + func (t WebServiceType) PrimaryStringKeys() []string + func (t WebServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error) + func (t WebServiceType) ToServiceJSON(un string) *jsonw.Wrapper