code: func (kb dbKeybase) ExportPubKey(name string) (armor string, err error) {
  	bz := kb.db.Get(infoKey(name))
  	if bz == nil {
  		return "", errors.New("No key to export with name " + name)
  	}
  	info, err := readInfo(bz)
  	if err != nil {
  		return
  	}
  	return armorPubKeyBytes(info.GetPubKey().Bytes()), nil
  }
docs: // ExportPubKey returns public keys in ASCII armored format.
  // Retrieve a Info object by its name and return the public key in
  // a portable format.