Documentation ¶
Index ¶
- Constants
- func APIBase(un string) string
- func AssertionParse(mctx libkb.MetaContext, s string) (libkb.AssertionExpression, error)
- func AssertionParseAndOnly(mctx libkb.MetaContext, s string) (libkb.AssertionExpression, error)
- func AssertionParseAndOnlyStatic(ctx context.Context, s string) (libkb.AssertionExpression, error)
- func CheckKarma(mctx libkb.MetaContext, un string) (int, error)
- func CheckProofPvl(m libkb.MetaContext, proofType keybase1.ProofType, ...) libkb.ProofError
- func IsSocialAssertion(mctx libkb.MetaContext, s string) bool
- func KarmaURL(un string) string
- func MakeAssertionContext(mctx libkb.MetaContext) libkb.AssertionContext
- func MakeIcons(mctx libkb.MetaContext, serviceKey, iconType string, size int) (res []keybase1.SizedImage)
- func MakeStaticAssertionContext(ctx context.Context) libkb.AssertionContext
- func NewExternalURLStoreAndInstall(g *libkb.GlobalContext) libkb.MerkleStore
- func NewGlobalContextInit() *libkb.GlobalContext
- func NewParamProofStoreAndInstall(g *libkb.GlobalContext) libkb.MerkleStore
- func NewProofServices(g *libkb.GlobalContext) libkb.ExternalServicesCollector
- func NormalizeSocialAssertion(mctx libkb.MetaContext, s string) (keybase1.SocialAssertion, bool)
- func NormalizeSocialAssertionStatic(ctx context.Context, s string) (keybase1.SocialAssertion, bool)
- func ParseAssertionList(mctx libkb.MetaContext, s string) ([]libkb.AssertionExpression, error)
- func ParseAssertionsWithReaders(mctx libkb.MetaContext, s string) (writers, readers []libkb.AssertionExpression, err error)
- func ParseWeb(s string) (hostname string, prot string, err error)
- type DNSChecker
- type DNSServiceType
- func (t *DNSServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t *DNSServiceType) DisplayName() string
- func (t *DNSServiceType) FormatProofText(ctx libkb.MetaContext, 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) Key() string
- func (t *DNSServiceType) LastWriterWins() bool
- func (t *DNSServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t *DNSServiceType) NormalizeRemoteName(_ libkb.MetaContext, s string) (string, error)
- func (t *DNSServiceType) NormalizeUsername(s string) (string, error)
- func (t *DNSServiceType) PickerSubtext() string
- 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
- type FacebookServiceType
- func (t *FacebookServiceType) CheckProofText(text string, id keybase1.SigID, sig string) error
- func (t *FacebookServiceType) DisplayName() string
- func (t *FacebookServiceType) GetPrompt() string
- func (t *FacebookServiceType) GetProofType() string
- func (t *FacebookServiceType) GetTypeName() string
- func (t *FacebookServiceType) Key() string
- func (t *FacebookServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t *FacebookServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (string, error)
- func (t *FacebookServiceType) NormalizeUsername(s string) (string, error)
- func (t *FacebookServiceType) PickerSubtext() string
- 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 GenericSocialProofChecker
- type GenericSocialProofConfig
- type GenericSocialProofServiceType
- func (t *GenericSocialProofServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t *GenericSocialProofServiceType) DisplayName() string
- func (t *GenericSocialProofServiceType) FormatProofText(m libkb.MetaContext, ppr *libkb.PostProofRes, ...) (string, error)
- func (t *GenericSocialProofServiceType) GetPrompt() string
- func (t *GenericSocialProofServiceType) GetProofType() string
- func (t *GenericSocialProofServiceType) GetTypeName() string
- func (t *GenericSocialProofServiceType) IsDevelOnly() bool
- func (t *GenericSocialProofServiceType) Key() string
- func (t *GenericSocialProofServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t *GenericSocialProofServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (ret string, err error)
- func (t *GenericSocialProofServiceType) NormalizeUsername(s string) (string, error)
- func (t *GenericSocialProofServiceType) PickerSubtext() string
- func (t *GenericSocialProofServiceType) PostInstructions(username string) *libkb.Markup
- func (t *GenericSocialProofServiceType) ProfileURL(remoteUsername string) (string, error)
- func (t *GenericSocialProofServiceType) ProveParameters(mctx libkb.MetaContext) keybase1.ProveParameters
- func (t *GenericSocialProofServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
- func (t *GenericSocialProofServiceType) ToServiceJSON(username string) *jsonw.Wrapper
- type GithubChecker
- type GithubServiceType
- func (t *GithubServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t *GithubServiceType) DisplayName() string
- func (t *GithubServiceType) GetPrompt() string
- func (t *GithubServiceType) GetProofType() string
- func (t *GithubServiceType) GetTypeName() string
- func (t *GithubServiceType) Key() string
- func (t *GithubServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t *GithubServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (ret string, err error)
- func (t *GithubServiceType) NormalizeUsername(s string) (string, error)
- func (t *GithubServiceType) PickerSubtext() string
- 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
- type HackerNewsServiceType
- func (t *HackerNewsServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t *HackerNewsServiceType) DisplayName() string
- func (t *HackerNewsServiceType) GetPrompt() string
- func (t *HackerNewsServiceType) GetProofType() string
- func (t *HackerNewsServiceType) GetTypeName() string
- func (t *HackerNewsServiceType) Key() string
- func (t *HackerNewsServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t *HackerNewsServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (string, error)
- func (t *HackerNewsServiceType) NormalizeUsername(s string) (string, error)
- func (t *HackerNewsServiceType) PickerSubtext() string
- func (t *HackerNewsServiceType) PostInstructions(un string) *libkb.Markup
- func (t *HackerNewsServiceType) PreProofCheck(mctx libkb.MetaContext, 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
- type RedditServiceType
- func (t *RedditServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t *RedditServiceType) DisplayName() string
- func (t *RedditServiceType) FormatProofText(mctx libkb.MetaContext, 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) Key() string
- func (t *RedditServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t *RedditServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (ret string, err error)
- func (t *RedditServiceType) NormalizeUsername(s string) (string, error)
- func (t *RedditServiceType) PickerSubtext() string
- 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
- type RooterServiceType
- func (t *RooterServiceType) CanMakeNewProofs(mctx libkb.MetaContext) bool
- func (t *RooterServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t *RooterServiceType) DisplayName() string
- func (t *RooterServiceType) GetPrompt() string
- func (t *RooterServiceType) GetProofType() string
- func (t *RooterServiceType) GetTypeName() string
- func (t *RooterServiceType) IsDevelOnly() bool
- func (t *RooterServiceType) Key() string
- func (t *RooterServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t *RooterServiceType) NormalizeRemoteName(_ libkb.MetaContext, s string) (string, error)
- func (t *RooterServiceType) NormalizeUsername(s string) (string, error)
- func (t *RooterServiceType) PickerSubtext() string
- 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
- type TwitterServiceType
- func (t *TwitterServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t *TwitterServiceType) DisplayName() string
- func (t *TwitterServiceType) GetPrompt() string
- func (t *TwitterServiceType) GetProofType() string
- func (t *TwitterServiceType) GetTypeName() string
- func (t *TwitterServiceType) Key() string
- func (t *TwitterServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t *TwitterServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (string, error)
- func (t *TwitterServiceType) NormalizeUsername(s string) (string, error)
- func (t *TwitterServiceType) PickerSubtext() string
- 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
- type WebServiceType
- func (t *WebServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t *WebServiceType) DisplayName() string
- func (t *WebServiceType) GetAPIArgKey() string
- func (t *WebServiceType) GetPrompt() string
- func (t *WebServiceType) GetProofType() string
- func (t *WebServiceType) GetTypeName() string
- func (t *WebServiceType) Key() 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(mctx libkb.MetaContext, s string) (ret string, err error)
- func (t *WebServiceType) NormalizeUsername(s string) (ret string, err error)
- func (t *WebServiceType) PickerSubtext() string
- func (t *WebServiceType) PostInstructions(un string) *libkb.Markup
- func (t *WebServiceType) PreProofWarning(un string) *libkb.Markup
- func (t *WebServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
- func (t *WebServiceType) ToServiceJSON(un string) *jsonw.Wrapper
Constants ¶
View Source
const ( RedditPrefix = "https://www.reddit.com" RedditSub = RedditPrefix + "/r/keybaseproofs" )
View Source
const IconTypeFull = "logo_full"
View Source
const IconTypeFullDarkmode = "logo_full_darkmode"
View Source
const IconTypeSmall = "logo_black"
View Source
const IconTypeSmallDarkmode = "logo_white"
View Source
const SupportedVersion int = 1
SupportedVersion is which version of ParamProofs is supported by this client.
Variables ¶
This section is empty.
Functions ¶
func AssertionParse ¶
func AssertionParse(mctx libkb.MetaContext, s string) (libkb.AssertionExpression, error)
func AssertionParseAndOnly ¶
func AssertionParseAndOnly(mctx libkb.MetaContext, s string) (libkb.AssertionExpression, error)
func CheckKarma ¶
func CheckKarma(mctx libkb.MetaContext, un string) (int, error)
func CheckProofPvl ¶ added in v1.0.21
func CheckProofPvl(m libkb.MetaContext, proofType keybase1.ProofType, proof libkb.RemoteProofChainLink, hint libkb.SigHint, pvlU keybase1.MerkleStoreEntry) libkb.ProofError
func IsSocialAssertion ¶
func IsSocialAssertion(mctx libkb.MetaContext, s string) bool
func MakeAssertionContext ¶
func MakeAssertionContext(mctx libkb.MetaContext) libkb.AssertionContext
func MakeIcons ¶
func MakeIcons(mctx libkb.MetaContext, serviceKey, iconType string, size int) (res []keybase1.SizedImage)
func MakeStaticAssertionContext ¶
func MakeStaticAssertionContext(ctx context.Context) libkb.AssertionContext
MakeStaticAssertionContext returns an AssertionContext that does not require access to GlobalContext, but it does not understand parametrized proofs. So only static assertions that are hardcoded in the client are valid according to this context.
func NewExternalURLStoreAndInstall ¶
func NewExternalURLStoreAndInstall(g *libkb.GlobalContext) libkb.MerkleStore
NewExternalURLStoreAndInstall creates a new store and installs it into G.
func NewGlobalContextInit ¶
func NewGlobalContextInit() *libkb.GlobalContext
func NewParamProofStoreAndInstall ¶
func NewParamProofStoreAndInstall(g *libkb.GlobalContext) libkb.MerkleStore
NewParamProofStore creates a new source and installs it into G.
func NewProofServices ¶
func NewProofServices(g *libkb.GlobalContext) libkb.ExternalServicesCollector
func NormalizeSocialAssertion ¶
func NormalizeSocialAssertion(mctx libkb.MetaContext, s string) (keybase1.SocialAssertion, bool)
func ParseAssertionList ¶ added in v1.0.30
func ParseAssertionList(mctx libkb.MetaContext, s string) ([]libkb.AssertionExpression, error)
func ParseAssertionsWithReaders ¶ added in v1.0.30
func ParseAssertionsWithReaders(mctx libkb.MetaContext, s string) (writers, readers []libkb.AssertionExpression, err error)
Types ¶
type DNSChecker ¶
type DNSChecker struct {
// contains filtered or unexported fields
}
func NewDNSChecker ¶
func NewDNSChecker(p libkb.RemoteProofChainLink) (*DNSChecker, libkb.ProofError)
func (*DNSChecker) CheckStatus ¶
func (rc *DNSChecker) CheckStatus(m libkb.MetaContext, h libkb.SigHint, pcm libkb.ProofCheckerMode, pvlU keybase1.MerkleStoreEntry) (*libkb.SigHint, libkb.ProofError)
func (*DNSChecker) GetTorError ¶
func (rc *DNSChecker) GetTorError() libkb.ProofError
type DNSServiceType ¶
type DNSServiceType struct{ libkb.BaseServiceType }
func (*DNSServiceType) CheckProofText ¶
func (*DNSServiceType) DisplayName ¶
func (t *DNSServiceType) DisplayName() string
func (*DNSServiceType) FormatProofText ¶
func (t *DNSServiceType) FormatProofText(ctx libkb.MetaContext, ppr *libkb.PostProofRes, kbUsername, remoteUsername string, sigID keybase1.SigID) (string, error)
func (*DNSServiceType) GetAPIArgKey ¶
func (t *DNSServiceType) GetAPIArgKey() string
func (*DNSServiceType) GetPrompt ¶
func (t *DNSServiceType) GetPrompt() string
func (*DNSServiceType) GetProofType ¶
func (t *DNSServiceType) GetProofType() string
func (*DNSServiceType) GetTypeName ¶
func (t *DNSServiceType) GetTypeName() string
func (*DNSServiceType) Key ¶
func (t *DNSServiceType) Key() string
func (*DNSServiceType) LastWriterWins ¶
func (t *DNSServiceType) LastWriterWins() bool
func (*DNSServiceType) MakeProofChecker ¶
func (t *DNSServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (*DNSServiceType) NormalizeRemoteName ¶
func (t *DNSServiceType) NormalizeRemoteName(_ libkb.MetaContext, s string) (string, error)
func (*DNSServiceType) NormalizeUsername ¶
func (t *DNSServiceType) NormalizeUsername(s string) (string, error)
func (*DNSServiceType) PickerSubtext ¶
func (t *DNSServiceType) PickerSubtext() string
func (*DNSServiceType) PostInstructions ¶
func (t *DNSServiceType) PostInstructions(un string) *libkb.Markup
func (*DNSServiceType) RecheckProofPosting ¶
func (t *DNSServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, dn string) (warning *libkb.Markup, err error)
func (*DNSServiceType) ToServiceJSON ¶
func (t *DNSServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type FacebookChecker ¶
type FacebookChecker struct {
// contains filtered or unexported fields
}
func NewFacebookChecker ¶
func NewFacebookChecker(p libkb.RemoteProofChainLink) (*FacebookChecker, libkb.ProofError)
func (*FacebookChecker) CheckStatus ¶
func (rc *FacebookChecker) CheckStatus(mctx libkb.MetaContext, h libkb.SigHint, _ libkb.ProofCheckerMode, pvlU keybase1.MerkleStoreEntry) (*libkb.SigHint, libkb.ProofError)
func (*FacebookChecker) GetTorError ¶
func (rc *FacebookChecker) GetTorError() libkb.ProofError
type FacebookServiceType ¶
type FacebookServiceType struct{ libkb.BaseServiceType }
func (*FacebookServiceType) CheckProofText ¶
func (*FacebookServiceType) DisplayName ¶
func (t *FacebookServiceType) DisplayName() string
func (*FacebookServiceType) GetPrompt ¶
func (t *FacebookServiceType) GetPrompt() string
func (*FacebookServiceType) GetProofType ¶
func (t *FacebookServiceType) GetProofType() string
func (*FacebookServiceType) GetTypeName ¶
func (t *FacebookServiceType) GetTypeName() string
func (*FacebookServiceType) Key ¶
func (t *FacebookServiceType) Key() string
func (*FacebookServiceType) MakeProofChecker ¶
func (t *FacebookServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (*FacebookServiceType) NormalizeRemoteName ¶
func (t *FacebookServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (string, error)
func (*FacebookServiceType) NormalizeUsername ¶
func (t *FacebookServiceType) NormalizeUsername(s string) (string, error)
func (*FacebookServiceType) PickerSubtext ¶
func (t *FacebookServiceType) PickerSubtext() string
func (*FacebookServiceType) PostInstructions ¶
func (t *FacebookServiceType) PostInstructions(un string) *libkb.Markup
func (*FacebookServiceType) RecheckProofPosting ¶
func (t *FacebookServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (*FacebookServiceType) ToServiceJSON ¶
func (t *FacebookServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type GenericSocialProofChecker ¶
type GenericSocialProofChecker struct {
// contains filtered or unexported fields
}
func NewGenericSocialProofChecker ¶
func NewGenericSocialProofChecker(proof libkb.RemoteProofChainLink, config *GenericSocialProofConfig) (*GenericSocialProofChecker, libkb.ProofError)
func (*GenericSocialProofChecker) CheckStatus ¶
func (rc *GenericSocialProofChecker) CheckStatus(mctx libkb.MetaContext, _ libkb.SigHint, _ libkb.ProofCheckerMode, pvlU keybase1.MerkleStoreEntry) (_ *libkb.SigHint, retErr libkb.ProofError)
func (*GenericSocialProofChecker) GetTorError ¶
func (rc *GenericSocialProofChecker) GetTorError() libkb.ProofError
type GenericSocialProofConfig ¶
type GenericSocialProofConfig struct { keybase1.ParamProofServiceConfig // contains filtered or unexported fields }
Validated configuration from the server
func NewGenericSocialProofConfig ¶
func NewGenericSocialProofConfig(g *libkb.GlobalContext, config keybase1.ParamProofServiceConfig) (*GenericSocialProofConfig, error)
type GenericSocialProofServiceType ¶
type GenericSocialProofServiceType struct { libkb.BaseServiceType // contains filtered or unexported fields }
func NewGenericSocialProofServiceType ¶
func NewGenericSocialProofServiceType(config *GenericSocialProofConfig) *GenericSocialProofServiceType
func (*GenericSocialProofServiceType) CheckProofText ¶
func (*GenericSocialProofServiceType) DisplayName ¶
func (t *GenericSocialProofServiceType) DisplayName() string
func (*GenericSocialProofServiceType) FormatProofText ¶
func (t *GenericSocialProofServiceType) FormatProofText(m libkb.MetaContext, ppr *libkb.PostProofRes, kbUsername, remoteUsername string, sigID keybase1.SigID) (string, error)
func (*GenericSocialProofServiceType) GetPrompt ¶
func (t *GenericSocialProofServiceType) GetPrompt() string
func (*GenericSocialProofServiceType) GetProofType ¶
func (t *GenericSocialProofServiceType) GetProofType() string
func (*GenericSocialProofServiceType) GetTypeName ¶
func (t *GenericSocialProofServiceType) GetTypeName() string
func (*GenericSocialProofServiceType) IsDevelOnly ¶
func (t *GenericSocialProofServiceType) IsDevelOnly() bool
func (*GenericSocialProofServiceType) Key ¶
func (t *GenericSocialProofServiceType) Key() string
func (*GenericSocialProofServiceType) MakeProofChecker ¶
func (t *GenericSocialProofServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (*GenericSocialProofServiceType) NormalizeRemoteName ¶
func (t *GenericSocialProofServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (ret string, err error)
func (*GenericSocialProofServiceType) NormalizeUsername ¶
func (t *GenericSocialProofServiceType) NormalizeUsername(s string) (string, error)
func (*GenericSocialProofServiceType) PickerSubtext ¶
func (t *GenericSocialProofServiceType) PickerSubtext() string
func (*GenericSocialProofServiceType) PostInstructions ¶
func (t *GenericSocialProofServiceType) PostInstructions(username string) *libkb.Markup
func (*GenericSocialProofServiceType) ProfileURL ¶
func (t *GenericSocialProofServiceType) ProfileURL(remoteUsername string) (string, error)
func (*GenericSocialProofServiceType) ProveParameters ¶
func (t *GenericSocialProofServiceType) ProveParameters(mctx libkb.MetaContext) keybase1.ProveParameters
func (*GenericSocialProofServiceType) RecheckProofPosting ¶
func (t *GenericSocialProofServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (*GenericSocialProofServiceType) ToServiceJSON ¶
func (t *GenericSocialProofServiceType) ToServiceJSON(username string) *jsonw.Wrapper
type GithubChecker ¶
type GithubChecker struct {
// contains filtered or unexported fields
}
func NewGithubChecker ¶
func NewGithubChecker(p libkb.RemoteProofChainLink) (*GithubChecker, libkb.ProofError)
func (*GithubChecker) CheckStatus ¶
func (rc *GithubChecker) CheckStatus(mctx libkb.MetaContext, h libkb.SigHint, _ libkb.ProofCheckerMode, pvlU keybase1.MerkleStoreEntry) (*libkb.SigHint, libkb.ProofError)
func (*GithubChecker) GetTorError ¶
func (rc *GithubChecker) GetTorError() libkb.ProofError
type GithubServiceType ¶
type GithubServiceType struct{ libkb.BaseServiceType }
func (*GithubServiceType) CheckProofText ¶
func (*GithubServiceType) DisplayName ¶
func (t *GithubServiceType) DisplayName() string
func (*GithubServiceType) GetPrompt ¶
func (t *GithubServiceType) GetPrompt() string
func (*GithubServiceType) GetProofType ¶
func (t *GithubServiceType) GetProofType() string
func (*GithubServiceType) GetTypeName ¶
func (t *GithubServiceType) GetTypeName() string
func (*GithubServiceType) Key ¶
func (t *GithubServiceType) Key() string
func (*GithubServiceType) MakeProofChecker ¶
func (t *GithubServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (*GithubServiceType) NormalizeRemoteName ¶
func (t *GithubServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (ret string, err error)
func (*GithubServiceType) NormalizeUsername ¶
func (t *GithubServiceType) NormalizeUsername(s string) (string, error)
func (*GithubServiceType) PickerSubtext ¶
func (t *GithubServiceType) PickerSubtext() string
func (*GithubServiceType) PostInstructions ¶
func (t *GithubServiceType) PostInstructions(un string) *libkb.Markup
func (*GithubServiceType) RecheckProofPosting ¶
func (t *GithubServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (*GithubServiceType) ToServiceJSON ¶
func (t *GithubServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type HackerNewsChecker ¶
type HackerNewsChecker struct {
// contains filtered or unexported fields
}
func NewHackerNewsChecker ¶
func NewHackerNewsChecker(p libkb.RemoteProofChainLink) (*HackerNewsChecker, libkb.ProofError)
func (*HackerNewsChecker) CheckStatus ¶
func (h *HackerNewsChecker) CheckStatus(mctx libkb.MetaContext, hint libkb.SigHint, _ libkb.ProofCheckerMode, pvlU keybase1.MerkleStoreEntry) (*libkb.SigHint, libkb.ProofError)
func (*HackerNewsChecker) GetTorError ¶
func (h *HackerNewsChecker) GetTorError() libkb.ProofError
type HackerNewsServiceType ¶
type HackerNewsServiceType struct{ libkb.BaseServiceType }
func (*HackerNewsServiceType) CheckProofText ¶
func (*HackerNewsServiceType) DisplayName ¶
func (t *HackerNewsServiceType) DisplayName() string
func (*HackerNewsServiceType) GetPrompt ¶
func (t *HackerNewsServiceType) GetPrompt() string
func (*HackerNewsServiceType) GetProofType ¶
func (t *HackerNewsServiceType) GetProofType() string
func (*HackerNewsServiceType) GetTypeName ¶
func (t *HackerNewsServiceType) GetTypeName() string
func (*HackerNewsServiceType) Key ¶
func (t *HackerNewsServiceType) Key() string
func (*HackerNewsServiceType) MakeProofChecker ¶
func (t *HackerNewsServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (*HackerNewsServiceType) NormalizeRemoteName ¶
func (t *HackerNewsServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (string, error)
func (*HackerNewsServiceType) NormalizeUsername ¶
func (t *HackerNewsServiceType) NormalizeUsername(s string) (string, error)
func (*HackerNewsServiceType) PickerSubtext ¶
func (t *HackerNewsServiceType) PickerSubtext() string
func (*HackerNewsServiceType) PostInstructions ¶
func (t *HackerNewsServiceType) PostInstructions(un string) *libkb.Markup
func (*HackerNewsServiceType) PreProofCheck ¶
func (t *HackerNewsServiceType) PreProofCheck(mctx libkb.MetaContext, un string) (markup *libkb.Markup, err error)
func (*HackerNewsServiceType) RecheckProofPosting ¶
func (t *HackerNewsServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (*HackerNewsServiceType) ToServiceJSON ¶
func (t *HackerNewsServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type RedditChecker ¶
type RedditChecker struct {
// contains filtered or unexported fields
}
func NewRedditChecker ¶
func NewRedditChecker(p libkb.RemoteProofChainLink) (*RedditChecker, libkb.ProofError)
func (*RedditChecker) CheckStatus ¶
func (rc *RedditChecker) CheckStatus(mctx libkb.MetaContext, h libkb.SigHint, _ libkb.ProofCheckerMode, pvlU keybase1.MerkleStoreEntry) (*libkb.SigHint, libkb.ProofError)
func (*RedditChecker) GetTorError ¶
func (rc *RedditChecker) GetTorError() libkb.ProofError
type RedditServiceType ¶
type RedditServiceType struct{ libkb.BaseServiceType }
func (*RedditServiceType) CheckProofText ¶
func (*RedditServiceType) DisplayName ¶
func (t *RedditServiceType) DisplayName() string
func (*RedditServiceType) FormatProofText ¶
func (t *RedditServiceType) FormatProofText(mctx libkb.MetaContext, ppr *libkb.PostProofRes, kbUsername, remoteUsername string, sigID keybase1.SigID) (res string, err error)
func (*RedditServiceType) GetPrompt ¶
func (t *RedditServiceType) GetPrompt() string
func (*RedditServiceType) GetProofType ¶
func (t *RedditServiceType) GetProofType() string
func (*RedditServiceType) GetTypeName ¶
func (t *RedditServiceType) GetTypeName() string
func (*RedditServiceType) Key ¶
func (t *RedditServiceType) Key() string
func (*RedditServiceType) MakeProofChecker ¶
func (t *RedditServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (*RedditServiceType) NormalizeRemoteName ¶
func (t *RedditServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (ret string, err error)
func (*RedditServiceType) NormalizeUsername ¶
func (t *RedditServiceType) NormalizeUsername(s string) (string, error)
func (*RedditServiceType) PickerSubtext ¶
func (t *RedditServiceType) PickerSubtext() string
func (*RedditServiceType) PostInstructions ¶
func (t *RedditServiceType) PostInstructions(un string) *libkb.Markup
func (*RedditServiceType) RecheckProofPosting ¶
func (t *RedditServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (*RedditServiceType) ToServiceJSON ¶
func (t *RedditServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type RooterChecker ¶
type RooterChecker struct {
// contains filtered or unexported fields
}
func NewRooterChecker ¶
func NewRooterChecker(p libkb.RemoteProofChainLink) (*RooterChecker, libkb.ProofError)
func (*RooterChecker) CheckStatus ¶
func (rc *RooterChecker) CheckStatus(mctx libkb.MetaContext, h libkb.SigHint, _ libkb.ProofCheckerMode, pvlU keybase1.MerkleStoreEntry) (*libkb.SigHint, libkb.ProofError)
func (*RooterChecker) GetTorError ¶
func (rc *RooterChecker) GetTorError() libkb.ProofError
type RooterServiceType ¶
type RooterServiceType struct{ libkb.BaseServiceType }
func (*RooterServiceType) CanMakeNewProofs ¶
func (t *RooterServiceType) CanMakeNewProofs(mctx libkb.MetaContext) bool
func (*RooterServiceType) CheckProofText ¶
func (*RooterServiceType) DisplayName ¶
func (t *RooterServiceType) DisplayName() string
func (*RooterServiceType) GetPrompt ¶
func (t *RooterServiceType) GetPrompt() string
func (*RooterServiceType) GetProofType ¶
func (t *RooterServiceType) GetProofType() string
func (*RooterServiceType) GetTypeName ¶
func (t *RooterServiceType) GetTypeName() string
func (*RooterServiceType) IsDevelOnly ¶
func (t *RooterServiceType) IsDevelOnly() bool
func (*RooterServiceType) Key ¶
func (t *RooterServiceType) Key() string
func (*RooterServiceType) MakeProofChecker ¶
func (t *RooterServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (*RooterServiceType) NormalizeRemoteName ¶
func (t *RooterServiceType) NormalizeRemoteName(_ libkb.MetaContext, s string) (string, error)
func (*RooterServiceType) NormalizeUsername ¶
func (t *RooterServiceType) NormalizeUsername(s string) (string, error)
func (*RooterServiceType) PickerSubtext ¶
func (t *RooterServiceType) PickerSubtext() string
func (*RooterServiceType) PostInstructions ¶
func (t *RooterServiceType) PostInstructions(un string) *libkb.Markup
func (*RooterServiceType) RecheckProofPosting ¶
func (t *RooterServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (*RooterServiceType) ToServiceJSON ¶
func (t *RooterServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type TwitterChecker ¶
type TwitterChecker struct {
// contains filtered or unexported fields
}
func NewTwitterChecker ¶
func NewTwitterChecker(p libkb.RemoteProofChainLink) (*TwitterChecker, libkb.ProofError)
func (*TwitterChecker) CheckStatus ¶
func (rc *TwitterChecker) CheckStatus(mctx libkb.MetaContext, h libkb.SigHint, _ libkb.ProofCheckerMode, pvlU keybase1.MerkleStoreEntry) (*libkb.SigHint, libkb.ProofError)
func (*TwitterChecker) GetTorError ¶
func (rc *TwitterChecker) GetTorError() libkb.ProofError
type TwitterServiceType ¶
type TwitterServiceType struct{ libkb.BaseServiceType }
func (*TwitterServiceType) CheckProofText ¶
func (*TwitterServiceType) DisplayName ¶
func (t *TwitterServiceType) DisplayName() string
func (*TwitterServiceType) GetPrompt ¶
func (t *TwitterServiceType) GetPrompt() string
func (*TwitterServiceType) GetProofType ¶
func (t *TwitterServiceType) GetProofType() string
func (*TwitterServiceType) GetTypeName ¶
func (t *TwitterServiceType) GetTypeName() string
func (*TwitterServiceType) Key ¶
func (t *TwitterServiceType) Key() string
func (*TwitterServiceType) MakeProofChecker ¶
func (t *TwitterServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (*TwitterServiceType) NormalizeRemoteName ¶
func (t *TwitterServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (string, error)
func (*TwitterServiceType) NormalizeUsername ¶
func (t *TwitterServiceType) NormalizeUsername(s string) (string, error)
func (*TwitterServiceType) PickerSubtext ¶
func (t *TwitterServiceType) PickerSubtext() string
func (*TwitterServiceType) PostInstructions ¶
func (t *TwitterServiceType) PostInstructions(un string) *libkb.Markup
func (*TwitterServiceType) RecheckProofPosting ¶
func (t *TwitterServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (*TwitterServiceType) ToServiceJSON ¶
func (t *TwitterServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type WebChecker ¶
type WebChecker struct {
// contains filtered or unexported fields
}
func NewWebChecker ¶
func NewWebChecker(p libkb.RemoteProofChainLink) (*WebChecker, libkb.ProofError)
func (*WebChecker) CheckStatus ¶
func (rc *WebChecker) CheckStatus(mctx libkb.MetaContext, h libkb.SigHint, pcm libkb.ProofCheckerMode, pvlU keybase1.MerkleStoreEntry) (*libkb.SigHint, libkb.ProofError)
func (*WebChecker) GetTorError ¶
func (rc *WebChecker) GetTorError() libkb.ProofError
type WebServiceType ¶
type WebServiceType struct { libkb.BaseServiceType // contains filtered or unexported fields }
func (*WebServiceType) CheckProofText ¶
func (*WebServiceType) DisplayName ¶
func (t *WebServiceType) DisplayName() string
func (*WebServiceType) GetAPIArgKey ¶
func (t *WebServiceType) GetAPIArgKey() string
func (*WebServiceType) GetPrompt ¶
func (t *WebServiceType) GetPrompt() string
func (*WebServiceType) GetProofType ¶
func (t *WebServiceType) GetProofType() string
func (*WebServiceType) GetTypeName ¶
func (t *WebServiceType) GetTypeName() string
func (*WebServiceType) Key ¶
func (t *WebServiceType) Key() string
func (*WebServiceType) LastWriterWins ¶
func (t *WebServiceType) LastWriterWins() bool
func (*WebServiceType) MakeProofChecker ¶
func (t *WebServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (*WebServiceType) MarkupFilenames ¶
func (t *WebServiceType) MarkupFilenames(un string, mkp *libkb.Markup)
func (*WebServiceType) NormalizeRemoteName ¶
func (t *WebServiceType) NormalizeRemoteName(mctx libkb.MetaContext, s string) (ret string, err error)
func (*WebServiceType) NormalizeUsername ¶
func (t *WebServiceType) NormalizeUsername(s string) (ret string, err error)
func (*WebServiceType) PickerSubtext ¶
func (t *WebServiceType) PickerSubtext() string
func (*WebServiceType) PostInstructions ¶
func (t *WebServiceType) PostInstructions(un string) *libkb.Markup
func (*WebServiceType) PreProofWarning ¶
func (t *WebServiceType) PreProofWarning(un string) *libkb.Markup
func (*WebServiceType) RecheckProofPosting ¶
func (t *WebServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (*WebServiceType) ToServiceJSON ¶
func (t *WebServiceType) ToServiceJSON(un string) *jsonw.Wrapper
Source Files ¶
- common.go
- icon.go
- init.go
- proof_checkers.go
- proof_checkers_devel.go
- proof_service_dns.go
- proof_service_facebook.go
- proof_service_generic_social.go
- proof_service_github.go
- proof_service_hackernews.go
- proof_service_reddit.go
- proof_service_rooter.go
- proof_service_twitter.go
- proof_service_web.go
- services.go
- social_assertion.go
Click to show internal directories.
Click to hide internal directories.