package
4.3.2+incompatible
Repository: https://github.com/qbit/client.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetCurrentSessionIfPossible returns the current username and UID from kbpki.GetCurrentSession.
MakeLocalTeams is a helper function to generate a list of local teams suitable to use with KeybaseDaemonLocal.
MakeLocalTLFCryptKeyOrBust returns a unique private symmetric key for a TLF.
MakeLocalUserCryptPrivateKeyOrBust returns a unique private encryption key for this user.
MakeLocalUserCryptPublicKeyOrBust returns the public key corresponding to the crypt private key for this user.
MakeLocalUsers is a helper function to generate a list of LocalUsers suitable to use with KeybaseDaemonLocal.
MakeLocalUserSigningKeyOrBust returns a unique signing key for this user.
MakeLocalUserVerifyingKeyOrBust makes a new verifying key corresponding to the signing key for this user.
NewDaemonLocal constructs a new DaemonLocal, initialized to contain the given users and teams.
NormalizeNamesInTLF takes a split TLF name and, without doing any resolutions or identify calls, normalizes all elements of the name.
SessionInfoFromProtocol returns SessionInfo from Session.
SplitAndNormalizeTLFName takes a tlf name as a string and tries to normalize it offline.

# Constants

PublicUIDName is the name given to keybase1.PublicUID.

# Structs

BadTLFNameError indicates a top-level folder name that has an incorrect format.
DaemonLocal implements KeybaseDaemon using an in-memory user and session store, and a given favorite store.
ImplicitTeamInfo contains information needed after resolving/identifying an implicit team.
LocalUser represents a fake KBFS user, useful for testing.
NoCurrentSessionError indicates that the daemon has no current session.
NoSigChainError means that a user we were trying to identify does not have a sigchain.
NoSuchNameError indicates that the user tried to access a subdirectory entry that doesn't exist.
NoSuchTeamError indicates that the given team couldn't be resolved.
NoSuchUserError indicates that the given user couldn't be resolved.
RevokedKeyInfo contains any KBFS-relevant data to user keys that have been revoked or belong to a account before it was reset.
SessionInfo contains all the info about the keybase session that kbfs cares about.
TeamInfo contains all the info about a keybase team that kbfs cares about.
TlfNameNotCanonical indicates that a name isn't a canonical, and that another (not necessarily canonical) name should be tried.
UserInfo contains all the info about a keybase user that kbfs cares about.

# Interfaces

Clock is an interface for getting the current time.
CurrentSessionGetter is an interface for objects that can return session info.
Identifier is an interface that can identify users and teams given assertions.
KBPKI is an interface for something that can resolve, identify, get user names, and get the current session.
KeybaseService is a low-level interface for interacting with the Keybase service process, for the purposes of resolving and identifying users and teams.
MerkleRootGetter is an interface for getting and verifying global Merkle roots.
NormalizedUsernameGetter is an interface that can get a normalized username given an ID.
OfflineStatusGetter indicates whether a given TLF needs to be available offline.
Resolver is an interface to be used to resolve assertions, implicit teams and team TLF IDs.