Add import/export of public keys #79

This commit is contained in:
Alessio Treglia
2018-04-04 23:25:14 +01:00
parent 7fb3f704b3
commit 9c02c8ce93
4 changed files with 127 additions and 7 deletions

View File

@ -18,7 +18,9 @@ type Keybase interface {
Delete(name, passphrase string) error
Import(name string, armor string) (err error)
ImportPubKey(name string, armor string) (err error)
Export(name string) (armor string, err error)
ExportPubKey(name string) (armor string, err error)
}
// Info is the public information about a key