code: func LoadPublicKey(prefs *Preferences) (*PublicKey, error) {
  	filePath := prefs.Core.PublicKeyFile
  
  	var fd io.Reader
  	var err error
  
  	if filePath == "" {
  		var b []byte
  		b, err = data.Asset("data/public_key.json")
  
  		if err == nil {
  			fd = bytes.NewReader(b)
  		}
  	} else {
  		fd, err = readPublicKeyFile(filePath)
  	}
  
  	if err != nil {
  		return nil, err
  	}
  
  	key, err := parsePublicKeyFile(fd)
  	if err != nil {
  		return nil, err
  	}
  
  	return key, nil
  }
docs: // LoadPublicKey reads the publickey file from disk and parses the json