Fix errors except for es missing

This commit is contained in:
Ethan Frey
2017-11-02 16:46:10 -05:00
parent 946c9c573e
commit 9ef978c5ec
2 changed files with 47 additions and 19 deletions

View File

@ -10,6 +10,13 @@ type Info struct {
PubKey crypto.PubKey `json:"pubkey"`
}
func info(name string, privKey crypto.PrivKey) Info {
return Info{
Name: name,
PubKey: privKey.PubKey(),
}
}
// Keybase allows simple CRUD on a keystore, as an aid to signing
type Keybase interface {
// Sign some bytes