Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoSuchKey is returned if a key of the given name is not found in the store ErrNoSuchKey = "no key by the given name was found" // ErrKeyExists is returned when writing a key would overwrite an existing key ErrKeyExists = "key by that name already exists, refusing to overwrite" // ErrKeyFmt is returned when the key's format is invalid ErrKeyFmt = "key has invalid format" )
Functions ¶
func ExportKeyAsMnemonic ¶
ExportKeyAsMnemonic is used to take an IPFS key, and return a human-readable friendly version. The idea is to allow users to easily export the keys they create, allowing them to take control of their records (ipns, tns, etc..)
Types ¶
type Keystore ¶
type Keystore struct {
// contains filtered or unexported fields
}
Keystore is used to manage an encrypted IPFS keystore
func NewKeystore ¶
NewKeystore is used to create a new krab ipfs keystore manager
Click to show internal directories.
Click to hide internal directories.